Function at 0x41fb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ee66c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x6731c0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x4204ac
cmp ecx, dword [eax + 0x158]
jge 0x4204ac
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x4204ac
cmp edx, dword [eax + 0x160]
jge 0x4204ac
cmp dword [eax + 0xf4], edi
je 0x4204ac
push edx
push ecx
mov ecx, eax
call fcn.0041a9c0
mov ecx, eax
test ecx, ecx
je 0x41fbac
mov eax, dword [ecx]
call dword [eax + 0x58]
test al, 8
jne 0x4204ac
mov esi, dword [ebp + 0x10]
mov ecx, esi
push 0
push 1
call fcn.00474ff5
test eax, eax
je 0x4204ac
push 0
push 1
mov ecx, esi
call fcn.00474f40
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
push 0
push esi
call ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x84]
call fcn.004748cf
push esi
mov dword [esp + 0xb4], 0
call ebx
push eax
call fcn.0045c81a
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
jne 0x41fc1d
xor edi, edi
jmp 0x42047e
push esi
call ebx
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
push eax
push ebx
call fcn.00474b24
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
lea ecx, [esp + 0x40]
call fcn.00416610
push ebx
mov byte [esp + 0xb4], 1
call fcn.0045c815
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.0042d7c0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
push eax
call fcn.0040de00
add esp, 4
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0xb0], 2
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
or eax, 0xffffffff
mov dword [esp + 0x4c], eax
or eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], eax
cmp dword [esi - 0xc], 0
mov dword [esp + 0x30], 0
jge 0x41fcbd
mov dword [esp + 0x44], 0xffffffff
mov eax, 0x64522c
jmp 0x41fd13
push 0x64693c
push esi
call fcn.005889d1
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41fcdf
or eax, 0xffffffff
mov dword [esp + 0x44], eax
mov eax, 0x64522c
jmp 0x41fd13
sub ecx, esi
sar ecx, 1
mov dword [esp + 0x44], ecx
jns 0x41fcf0
mov eax, 0x64522c
jmp 0x41fd13
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
call fcn.0041a170
mov byte [esp + 0xb0], 3
or edi, 1
mov eax, dword [eax]
mov dword [esp + 0x14], edi
push eax
lea ecx, [esp + 0x4c]
call fcn.0040e420
mov dword [esp + 0xb0], 5
mov eax, dword [esp + 0x14]
test al, 1
je 0x41fd55
mov edx, dword [esp + 0x74]
and eax, 0xfffffffe
add edx, 0xfffffff0
mov dword [esp + 0x14], eax
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fd55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
test eax, eax
js 0x41fda8
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.00415c60
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 6
call fcn.0040de70
mov byte [esp + 0xb0], 5
or ecx, 0xffffffff
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fda4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x18]
push 0x646940
push esi
call fcn.00589da7
add esp, 8
test eax, eax
jne 0x41fee6
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi - 0x10]
push eax
call fcn.0040de00
add eax, 0x10
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0xb0], 8
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x14]
or edi, 4
mov eax, dword [eax]
sub eax, 0x10
mov dword [esp + 0x14], edi
push eax
call fcn.0040de00
add esp, 4
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
mov dword [esp + 0xb0], 0xa
mov edx, dword [esp + 0x14]
test dl, 4
je 0x41fe4d
mov eax, dword [esp + 0x54]
and edx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
or ecx, 0xffffffff
add eax, 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fe4d
mov edx, dword [esp + 0x1c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x14]
mov byte [esp + 0xb0], 0xb
test dl, 2
je 0x41fe7f
and edx, 0xfffffffd
or ecx, 0xffffffff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fe7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
add edx, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
cmp edx, dword [ecx + 0x158]
jge 0x41feda
mov eax, dword [esp + 0x34]
lea ebx, [ebx]
test edx, edx
js 0x41fec8
cmp edx, dword [ecx + 0x158]
jge 0x41fec8
cmp edx, dword [ecx + 0x170]
jge 0x4203d9
mov eax, dword [ecx + 0x16c]
cmp dword [eax + edx*4], 0
jg 0x41feda
mov eax, dword [esp + 0x34]
inc edx
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edx
cmp edx, dword [ecx + 0x158]
jl 0x41fea0
cmp dword [esi - 0xc], 0
je 0x420311
jmp 0x41ff24
sub eax, esi
sar eax, 1
mov dword [esp + 0x24], eax
js 0x41fdc6
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.00415c60
mov byte [esp + 0xb0], 7
mov edi, dword [esp + 0x14]
or edi, 2
jmp 0x41fdef
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x160]
jge 0x41ff93
mov edx, dword [esp + 0x30]
jmp 0x41ff40
test eax, eax
js 0x41ff81
cmp eax, dword [ecx + 0x160]
jge 0x41ff81
mov ecx, dword [ecx + 0x4f0]
mov edx, dword [ecx + eax*4]
test edx, edx
js 0x4203d9
mov ecx, dword [esp + 0x20]
cmp edx, dword [ecx + 0x184]
jge 0x4203d9
mov ecx, dword [ecx + 0x180]
cmp dword [ecx + edx*4], 0
mov ecx, dword [esp + 0x20]
jg 0x41ff93
mov edx, dword [esp + 0x30]
inc eax
inc edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x160]
jl 0x41ff40
cmp dword [esp + 0x2c], 0
mov edx, dword [ecx + 0x160]
jl 0x42003b
mov eax, dword [esp + 0x2c]
cmp eax, dword [ecx + 0x158]
mov eax, dword [esp + 0x1c]
jge 0x42003b
test eax, eax
js 0x42003b
cmp eax, edx
jge 0x42003b
lea ecx, [esp + 0x38]
call fcn.0040cec0
lea ecx, [esp + 0x38]
call fcn.0040ce40
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push edi
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.0041f5b0
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x30]
call fcn.0041a9c0
mov ecx, eax
test ecx, ecx
je 0x420004
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [esp + 0x20]
and eax, 0xfffffffd
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.00423b20
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x2c], ecx
cmovg ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x1c], ecx
cmovg ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x24]
test eax, eax
js 0x420062
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041a170
mov byte [esp + 0xb0], 0xc
or dword [esp + 0x14], 8
jmp 0x420080
push 0x64522c
lea ecx, [esp + 0x68]
call fcn.0040e420
mov dword [esp + 0xb0], 0xd
or dword [esp + 0x14], 0x10
mov eax, dword [eax]
lea ecx, [esi - 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x4200ea
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4200d9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4200d5
push edx
call fcn.0040de00
add esp, 4
mov dword [esp + 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4200cc
mov esi, dword [esp + 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
jmp 0x4200ea
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040dd10
mov esi, dword [esp + 0x18]
mov dword [esp + 0xb0], 0xc
mov edx, dword [esp + 0x14]
test dl, 0x10
je 0x42012f
mov eax, dword [esp + 0x64]
and edx, 0xffffffef
add eax, 0xfffffff0
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
or ecx, 0xffffffff
add eax, 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42012f
mov edx, dword [esp + 0x24]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb0], 0xb
test dl, 8
je 0x420164
and edx, 0xfffffff7
or ecx, 0xffffffff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x420164
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x646940
push esi
call fcn.00589da7
add esp, 8
test eax, eax
jne 0x4201a3
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esi - 0x10]
lea ebx, [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x4201cb
cmp ecx, dword [ebx]
jne 0x4201cb
mov eax, 1
lock xadd dword [edx], eax
jmp 0x42020f
sub eax, esi
sar eax, 1
mov dword [esp + 0x24], eax
js 0x42017e
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.00415c60
mov byte [esp + 0xb0], 0xe
or dword [esp + 0x14], 0x20
jmp 0x42022a
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x40], edx
test edx, edx
je 0x4203de
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.0058805c
mov ebx, dword [esp + 0x50]
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x40], ebx
mov dword [esp + 0xb0], 0xf
lea eax, [esp + 0x40]
or dword [esp + 0x14], 0x40
mov eax, dword [eax]
lea ecx, [edi - 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x420294
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x420283
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x42027f
push edx
call fcn.0040de00
add esp, 4
mov dword [esp + 0x28], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x420276
mov edi, dword [esp + 0x1c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x28]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
jmp 0x420294
mov eax, dword [esp + 0x28]
push dword [eax - 0xc]
lea ecx, [esp + 0x3c]
push eax
call fcn.0040dd10
mov edi, dword [esp + 0x38]
mov dword [esp + 0xb0], 0xe
mov edx, dword [esp + 0x14]
test dl, 0x40
je 0x4202ce
and edx, 0xffffffbf
lea eax, [ebx - 4]
mov dword [esp + 0x14], edx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4202ce
mov ecx, dword [ebx - 0x10]
lea edx, [ebx - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb0], 0xb
test dl, 0x20
je 0x420303
and edx, 0xffffffdf
or ecx, 0xffffffff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x60]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x420303
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jne 0x41ff20
mov eax, dword [esp + 0x48]
lea edx, [esi - 0x10]
mov dword [esp + 0x24], edx
lea ecx, [eax - 0x10]
mov dword [esp + 0x28], ecx
cmp ecx, edx
je 0x42037c
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x42036b
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x42036b
push dword [esp + 0x28]
call fcn.0040de00
add esp, 4
mov dword [esp + 0x28], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x420362
mov esi, dword [esp + 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x28]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
jmp 0x42037c
push dword [eax - 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040dd10
mov esi, dword [esp + 0x18]
inc dword [esp + 0x34]
add edi, 0xfffffff0
mov byte [esp + 0xb0], 5
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4203a2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 2
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4203c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
test eax, eax
js 0x4203e3
mov edi, dword [esp + 0x14]
jmp 0x41fca0
call fcn.0045d0fa
call fcn.0040ddf0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 4]
test eax, eax
jns 0x4203fa
inc eax
mov edx, 1
cmove eax, edx
mov dword [ecx - 4], eax
cmp dword [ebp + 0x14], 0
mov ecx, dword [esp + 0x20]
je 0x420424
mov eax, dword [esp + 0x50]
push 1
push 1
push eax
mov eax, dword [esp + 0x58]
push eax
push dword [esp + 0x78]
push dword [esp + 0x84]
call fcn.0041edb0
jmp 0x420432
call fcn.004215b0
mov ecx, dword [esp + 0x20]
call fcn.00424c10
add esi, 0xfffffff0
mov byte [esp + 0xb0], 1
or ebx, 0xffffffff
mov edi, 1
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42045b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0
mov esi, dword [esp + 0x3c]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x42047e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x78]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0047492b
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10