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

Disassembly:
push 0xffffffffffffffff
push 0x4931db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], edi
call fcn.00409fd0
lea ecx, [esp + 0x4c]
call fcn.0042a410
or esi, 0xffffffff
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x104], 1
mov dword [esp + 0x10], edi
call fcn.00409fd0
lea ecx, [esp + 0x88]
call fcn.0042a410
mov dword [esp + 0x74], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov ebp, dword [esp + 0x118]
mov ebx, dword [esp + 0x114]
mov byte [esp + 0x104], 2
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
push ecx
mov ecx, dword [esp + 0x118]
push ebx
call fcn.00408180
mov ecx, dword [esp + 0x110]
push edi
push ebx
call fcn.0040b3a0
mov edi, dword [esp + 0x120]
mov dword [esp + 0x1c], eax
cmp edi, esi
je 0x415c28
cmp edi, 0xfffffb2e
je 0x415c28
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], ebx
mov eax, dword [edx + 0xe8]
mov eax, dword [eax + edi*4]
lea ecx, [eax + 0x14]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x24], ecx
call fcn.0042a290
mov ebp, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
inc ebp
call fcn.0042a290
mov edx, dword [esp + 0x18]
mov dword [eax], ebp
mov eax, dword [edx + 0xe8]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0x5c]
cmp edx, esi
je 0x415bbe
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
lea eax, [esp + 0x5c]
push edx
add ecx, 0x44
push eax
mov dword [esp + 0x2c], 0
call fcn.0040ce80
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xa8], ecx
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x118]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebp]
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x12c]
test eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
je 0x415c18
cmp eax, 1
jne 0x415c31
mov ebp, dword [esp + 0x18]
mov dword [ebp + 0xb38], 1
jmp 0x415c35
add dword [eax + 0x9c], 0xfffffffe
jmp 0x415bc9
mov ebp, dword [esp + 0x18]
cmp edi, esi
je 0x415d37
cmp edi, 0xfffffb2e
je 0x415d37
mov eax, dword [ebp + 0xcc]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x415d37
lea ebx, [ebp + 0xa4]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebx
call fcn.0042b380
mov eax, dword [eax]
mov edx, dword [ebp + 0xa8]
mov ecx, eax
cmp eax, edx
mov dword [esp + 0x14], ecx
je 0x415d20
lea esi, [ecx + 0x10]
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x70]
call fcn.00415f00
mov edx, dword [esi + 0x10]
mov dword [esp + 0x74], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esi]
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x78], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0x20]
cmp eax, edi
mov dword [esp + 0x84], edx
je 0x415cfc
lea ecx, [esp + 0x14]
call fcn.0042c7a0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebx
call fcn.0042a4e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x415d20
jmp 0x415c8c
cmp ecx, dword [esp + 0x11c]
je 0x415e1d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
call fcn.0042ad10
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xcc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x415c65
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x98], eax
call fcn.00415f20
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x108], 4
mov dword [esp + 0xcc], edx
call fcn.00415f20
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [ebp + 0xa4]
mov byte [esp + 0x10c], 5
call fcn.0042abe0
lea ecx, [esp + 0xcc]
call fcn.00414690
lea ecx, [esp + 0x98]
mov byte [esp + 0x104], 2
call fcn.00414690
mov esi, dword [esp + 0x10c]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00415f20
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], 1
mov byte [esp + 0x104], 1
mov dword [esp + 0x74], 0
call fcn.0040cf20
lea ecx, [esp + 0x28]
call fcn.00414690
mov ecx, dword [esp + 0xfc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf8
ret 0x24
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
lea esi, [ecx + 0x10]
lea ecx, [esi + 8]
call fcn.00415f00
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x2c]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x28]
mov dword [esi], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x48]
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x10c]
lea edi, [esi + 8]
mov ecx, edi
call fcn.00409fd0
lea ecx, [esi + 0x24]
call fcn.0042a410
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 3
push ecx
mov ecx, edi
call fcn.00415f00
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esi], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esp + 0x58], 1
xor edi, edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x104], 1
mov dword [esp + 0x74], edi
call fcn.0040cf20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x104], 0
mov dword [esp + 0x38], edi
call fcn.0040cf20
jmp 0x415e00