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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
lea esi, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], esi
lea esi, [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], 0x953ef0
mov dword [esp + 0x58], 0x95ad84
mov dword [esp + 0x60], 0x40b2e3
mov dword [esp + 0x64], esp
call fcn.0085e721
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp eax, edi
jne 0x41f59b
jmp 0x41f651
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0095b5c1
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
je 0x41f651
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xac]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 4], eax
lea eax, [esp + 0x92]
mov dword [esp], eax
call fcn.0046b2e1
test eax, eax
jne 0x41f581
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xac]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0x92]
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.004699b1
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], ebx
cmp ebx, dword [eax + 8]
je 0x41f671
lea eax, [ebx + 8]
lea edx, [esp + 0x80]
mov dword [ebx], eax
mov eax, dword [esp + 0x78]
cmp eax, edx
je 0x41f7f9
mov esi, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
add dword [eax + 4], 0x18
jmp 0x41f581
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0085e7b1
mov eax, dword [esp + 0x20]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov esi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
sub eax, esi
mov dword [esp + 0x38], eax
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 0x5555555
je 0x41f850
test eax, eax
je 0x41f829
lea edx, [eax + eax]
mov dword [esp + 0x30], 0x7ffffff8
cmp eax, edx
jbe 0x41f7d1
mov edi, dword [esp + 0x30]
mov dword [esp + 0x40], 1
mov dword [esp], edi
call fcn.00967791
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], eax
add edi, eax
add eax, 0x18
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], eax
lea edi, [esp + 0x78]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x28]
mov dword [esp], edi
call fcn.00932261
sub esp, 4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
cmp edi, esi
je 0x41f784
mov edx, dword [esp + 0x28]
mov eax, esi
jmp 0x41f729
mov dword [edx], ecx
mov ecx, dword [eax + 8]
add eax, 0x18
add edx, 0x18
mov dword [edx - 0x10], ecx
mov ecx, dword [eax - 0x14]
mov dword [edx - 0x14], ecx
cmp edi, eax
je 0x41f761
lea ebx, [edx + 8]
lea esi, [eax + 8]
mov dword [edx], ebx
mov ecx, dword [eax]
cmp ecx, esi
jne 0x41f711
mov esi, dword [ecx]
add eax, 0x18
add edx, 0x18
mov dword [edx - 0x10], esi
mov esi, dword [ecx + 4]
mov dword [edx - 0xc], esi
mov esi, dword [ecx + 8]
mov dword [edx - 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx - 4], ecx
mov ecx, dword [eax - 0x14]
mov dword [edx - 0x14], ecx
cmp edi, eax
jne 0x41f729
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
sub eax, 0x18
sub eax, dword [esp + 0x2c]
shr eax, 3
imul eax, eax, 0xaaaaaab
lea eax, [eax + eax*2]
lea eax, [esi + eax*8 + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41f794
mov dword [esp], eax
call fcn.009676c1
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x80]
mov esi, dword [esp + 0x30]
mov dword [eax], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov eax, dword [esp + 0x78]
cmp eax, edx
je 0x41f581
mov dword [esp], eax
call fcn.009676c1
jmp 0x41f581
test edx, edx
jne 0x41f836
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0
jmp 0x41f6df
mov eax, dword [esp + 0x80]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x14], eax
jmp 0x41f62f
mov dword [esp + 0x30], 0x18
jmp 0x41f6b6
cmp edx, 0x5555555
mov eax, 0x5555555
cmova edx, eax
imul eax, edx, 0x18
mov dword [esp + 0x30], eax
jmp 0x41f6b6
mov dword [esp], 0x969948
mov dword [esp + 0x40], 1
call fcn.0096e795
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x80]
cmp eax, edx
je 0x41f883
mov dword [esp], eax
call fcn.009676c1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call fcn.0085eaa1
lea esi, [esi]
lea esi, [esi]