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

Disassembly:
sub esp, 0xe8
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push esi
mov ecx, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
call fcn.00411670
movzx ecx, byte [edi + 0x78]
push ecx
lea ecx, [esp + 0x9c]
call fcn.0040cb00
mov dword [esp + 0x10], esi
cmp dword [esp + 0x1c], esi
jbe 0x411b2b
mov ebx, dword [esp + 0x108]
push 8
call fcn.0041a79e
add esp, 4
cmp eax, esi
je 0x41197c
mov dword [eax], esi
mov dword [eax + 4], esi
mov ebp, eax
jmp 0x41197e
xor ebp, ebp
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jne 0x4119d6
mov edx, eax
shr edx, 2
lea esi, [edx + eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a79e
mov edi, eax
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x4119c4
mov ecx, dword [ebx]
add eax, eax
add eax, eax
push eax
push ecx
push edi
call fcn.0041ad60
add esp, 0xc
mov edx, dword [ebx]
push edx
call fcn.0041a71a
add esp, 4
mov dword [ebx + 8], esi
mov dword [ebx], edi
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], ebp
inc dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
movzx eax, byte [edx + ecx]
mov edx, dword [esp + 0x44]
add eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
xor ecx, ecx
cmp edi, edi
jne 0x411c52
cmp ecx, eax
jne 0x411c52
cmp edi, dword [ebp + 4]
je 0x411a3f
mov eax, dword [ebp]
cmp eax, esi
je 0x411a29
push eax
call fcn.0041a71a
add esp, 4
mov dword [ebp], esi
mov dword [ebp + 4], esi
cmp edi, esi
je 0x411a3f
push edi
call fcn.0041a79e
add esp, 4
mov dword [ebp], eax
mov dword [ebp + 4], edi
push 0x14
call fcn.0041a79e
add esp, 4
cmp eax, esi
je 0x411a60
mov dword [eax + 4], esi
mov dword [eax], 0x423fa0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov esi, eax
call edx
mov eax, dword [ebp]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x110]
push edx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x118]
push eax
push ecx
push 0
push 0
push esi
push 0
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x12c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], edi
mov ecx, dword [eax]
add ecx, dword [esp + 0x124]
mov edx, dword [eax + 4]
adc edx, dword [esp + 0x128]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
push edx
push ecx
push eax
lea ecx, [esp + 0xcc]
call fcn.0040ce30
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x411c57
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jae 0x411b0a
mov ecx, dword [esp + 0x24]
cmp byte [ecx + eax], 0
je 0x411b0a
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp]
lea ebp, [edx + eax*4]
mov edx, edi
call fcn.0040c310
cmp eax, dword [ebp]
jne 0x411d04
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x10]
inc eax
xor esi, esi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jb 0x411965
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x411b44
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx*8]
add dword [edi + 0x70], edx
mov eax, dword [eax + ecx*8 + 4]
adc dword [edi + 0x74], eax
mov eax, dword [esp + 0xf4]
cmp eax, esi
je 0x411b57
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xdc]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0xcc]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0xc0]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0xb0]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0xa4]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x90]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x88]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x7c]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x7c]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x7c]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x7c]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x7c]
add esp, 0x40
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x34]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041a71a
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe8
ret 0x20
call fcn.0040f730
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x411c72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xdc]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0xcc]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0xc0]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0xb0]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0xa4]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x90]
push edx
call fcn.0041a71a
add esp, 0x24
lea ecx, [esp + 0x18]
call fcn.0040ecb0
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 0x20
call fcn.0040f710
int3