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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59b87c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x6101c0]
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 0x41fbbc
cmp ecx, dword [eax + 0x158]
jge 0x41fbbc
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x41fbbc
cmp edx, dword [eax + 0x160]
jge 0x41fbbc
cmp dword [eax + 0xf4], edi
je 0x41fbbc
push edx
push ecx
mov ecx, eax
call fcn.0041a0d0
mov ecx, eax
test ecx, ecx
je 0x41f2bc
mov eax, dword [ecx]
call dword [eax + 0x58]
test al, 8
jne 0x41fbbc
mov esi, dword [ebp + 0x10]
mov ecx, esi
push 0
push 1
call fcn.0046d8bf
test eax, eax
je 0x41fbbc
push 0
push 1
mov ecx, esi
call fcn.0046d80a
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.0046d199
push esi
mov dword [esp + 0xb4], 0
call ebx
push eax
call fcn.00454311
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
jne 0x41f32d
xor edi, edi
jmp 0x41fb8e
push esi
call ebx
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
push eax
push ebx
call fcn.0046d3ee
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
lea ecx, [esp + 0x40]
call fcn.004167c0
push ebx
mov byte [esp + 0xb4], 1
call fcn.0045430c
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.0042ced0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
push eax
call fcn.0040dfb0
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 0x41f3cd
mov dword [esp + 0x44], 0xffffffff
mov eax, 0x5e40cc
jmp 0x41f423
push 0x5e50f4
push esi
call fcn.005805e1
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41f3ef
or eax, 0xffffffff
mov dword [esp + 0x44], eax
mov eax, 0x5e40cc
jmp 0x41f423
sub ecx, esi
sar ecx, 1
mov dword [esp + 0x44], ecx
jns 0x41f400
mov eax, 0x5e40cc
jmp 0x41f423
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
call fcn.00419880
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.0040e5d0
mov dword [esp + 0xb0], 5
mov eax, dword [esp + 0x14]
test al, 1
je 0x41f465
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 0x41f465
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
test eax, eax
js 0x41f4b8
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.00415e10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 6
call fcn.0040e020
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 0x41f4b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x18]
push 0x5e50f8
push esi
call fcn.005819b7
add esp, 8
test eax, eax
jne 0x41f5f6
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi - 0x10]
push eax
call fcn.0040dfb0
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.0040dfb0
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 0x41f55d
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 0x41f55d
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 0x41f58f
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 0x41f58f
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 0x41f5ea
mov eax, dword [esp + 0x34]
lea ebx, [ebx]
test edx, edx
js 0x41f5d8
cmp edx, dword [ecx + 0x158]
jge 0x41f5d8
cmp edx, dword [ecx + 0x170]
jge 0x41fae9
mov eax, dword [ecx + 0x16c]
cmp dword [eax + edx*4], 0
jg 0x41f5ea
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 0x41f5b0
cmp dword [esi - 0xc], 0
je 0x41fa21
jmp 0x41f634
sub eax, esi
sar eax, 1
mov dword [esp + 0x24], eax
js 0x41f4d6
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.00415e10
mov byte [esp + 0xb0], 7
mov edi, dword [esp + 0x14]
or edi, 2
jmp 0x41f4ff
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 0x41f6a3
mov edx, dword [esp + 0x30]
jmp 0x41f650
test eax, eax
js 0x41f691
cmp eax, dword [ecx + 0x160]
jge 0x41f691
mov ecx, dword [ecx + 0x4f0]
mov edx, dword [ecx + eax*4]
test edx, edx
js 0x41fae9
mov ecx, dword [esp + 0x20]
cmp edx, dword [ecx + 0x184]
jge 0x41fae9
mov ecx, dword [ecx + 0x180]
cmp dword [ecx + edx*4], 0
mov ecx, dword [esp + 0x20]
jg 0x41f6a3
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 0x41f650
cmp dword [esp + 0x2c], 0
mov edx, dword [ecx + 0x160]
jl 0x41f74b
mov eax, dword [esp + 0x2c]
cmp eax, dword [ecx + 0x158]
mov eax, dword [esp + 0x1c]
jge 0x41f74b
test eax, eax
js 0x41f74b
cmp eax, edx
jge 0x41f74b
lea ecx, [esp + 0x38]
call fcn.0040d070
lea ecx, [esp + 0x38]
call fcn.0040cff0
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push edi
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.0041ecc0
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x30]
call fcn.0041a0d0
mov ecx, eax
test ecx, ecx
je 0x41f714
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.00423230
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 0x41f772
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00419880
mov byte [esp + 0xb0], 0xc
or dword [esp + 0x14], 8
jmp 0x41f790
push 0x5e40cc
lea ecx, [esp + 0x68]
call fcn.0040e5d0
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 0x41f7fa
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41f7e9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41f7e5
push edx
call fcn.0040dfb0
add esp, 4
mov dword [esp + 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41f7dc
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 0x41f7fa
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040dec0
mov esi, dword [esp + 0x18]
mov dword [esp + 0xb0], 0xc
mov edx, dword [esp + 0x14]
test dl, 0x10
je 0x41f83f
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 0x41f83f
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 0x41f874
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 0x41f874
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5e50f8
push esi
call fcn.005819b7
add esp, 8
test eax, eax
jne 0x41f8b3
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 0x41f8db
cmp ecx, dword [ebx]
jne 0x41f8db
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41f91f
sub eax, esi
sar eax, 1
mov dword [esp + 0x24], eax
js 0x41f88e
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.00415e10
mov byte [esp + 0xb0], 0xe
or dword [esp + 0x14], 0x20
jmp 0x41f93a
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 0x41faee
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.0057fc6c
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 0x41f9a4
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x41f993
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41f98f
push edx
call fcn.0040dfb0
add esp, 4
mov dword [esp + 0x28], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41f986
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 0x41f9a4
mov eax, dword [esp + 0x28]
push dword [eax - 0xc]
lea ecx, [esp + 0x3c]
push eax
call fcn.0040dec0
mov edi, dword [esp + 0x38]
mov dword [esp + 0xb0], 0xe
mov edx, dword [esp + 0x14]
test dl, 0x40
je 0x41f9de
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 0x41f9de
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 0x41fa13
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 0x41fa13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jne 0x41f630
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 0x41fa8c
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x41fa7b
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x41fa7b
push dword [esp + 0x28]
call fcn.0040dfb0
add esp, 4
mov dword [esp + 0x28], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41fa72
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 0x41fa8c
push dword [eax - 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040dec0
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 0x41fab2
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 0x41fad8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x44]
test eax, eax
js 0x41faf3
mov edi, dword [esp + 0x14]
jmp 0x41f3b0
call fcn.00454bf1
call fcn.0040dfa0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 4]
test eax, eax
jns 0x41fb0a
inc eax
mov edx, 1
cmove eax, edx
mov dword [ecx - 4], eax
cmp dword [ebp + 0x14], 0
mov ecx, dword [esp + 0x20]
je 0x41fb34
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.0041e4c0
jmp 0x41fb42
call fcn.00420cc0
mov ecx, dword [esp + 0x20]
call fcn.00424320
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 0x41fb6b
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 0x41fb8e
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.0046d1f5
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