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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab128d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0xaf408c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [esi + 0x148], 0
mov word [esi + 0x14c], 0
mov byte [esi + 0x14e], 0
mov dword [esi], 0
push dword [esi + 8]
call fcn.00a3c1ec
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
push dword [esi + 0x24]
call fcn.00a3c1ec
mov dword [esi + 0x24], 0
push dword [esi + 0x28]
call fcn.00a3c1ec
mov dword [esi + 0x28], 0
push dword [esi + 0x2c]
call fcn.00a3c1ec
mov dword [esi + 0x2c], 0
push dword [esi + 0x30]
call fcn.00a3c1ec
mov dword [esi + 0x30], 0
push dword [esi + 0x34]
call fcn.00a3c1ec
mov dword [esi + 0x34], 0
push dword [esi + 0x38]
call fcn.00a3c1ec
mov dword [esi + 0x38], 0
add esp, 0x1c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x415de5
push eax
call fcn.00a3c1ec
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x415e09
push eax
call fcn.00a3c1ec
add esp, 4
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
push dword [esi + 0xf0]
call fcn.00a3c1ec
mov dword [esi + 0xf0], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x124], 0
push dword [esi + 0x130]
call fcn.00a3c1ec
mov dword [esi + 0x130], 0
push dword [esi + 0x134]
call fcn.00a3c1ec
mov dword [esi + 0x134], 0
add esp, 0xc
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], ecx
mov cl, byte [ebx + 0x5e]
mov byte [esi + 0xf8], cl
mov al, byte [ebx + 0x5f]
mov byte [esi + 0xf9], al
test cl, cl
jne 0x4160c0
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x64]
add ecx, 0x20
mov edi, dword [ebx + 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x44]
adc eax, 0
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x18], edi
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], eax
mov dword [esi + 0x140], 0x20
mov dword [esi + 0x144], 0
mov byte [esi + 0x148], 0
jl 0x4160c0
jg 0x415fd7
test edx, edx
jb 0x4160c0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x40000000
ja 0x4160c0
jb 0x415ff0
test edi, edi
jne 0x4160c0
mov eax, edi
mov dword [ebx + 0x78], 0x20
or eax, ecx
mov dword [ebx + 0x7c], 0
jne 0x41603c
or edx, dword [ebp - 0x14]
jne 0x4160c0
mov byte [esi + 0x148], 1
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov dword [esi + 0x138], eax
xor eax, eax
mov dword [esi + 0x13c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 0x14c], 0
mov eax, 0x20
mov dword [ebp - 0x10], 0
jne 0x416064
mov byte [esi + 0x148], 1
mov esi, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
add eax, edi
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x78], eax
adc dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x54], eax
mov dword [ebp + 8], edi
add dword [ebp + 8], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
adc edx, eax
add ecx, 0x20
mov eax, edx
mov dword [esi + 0x140], ecx
adc eax, 0
mov dword [esi + 0x144], eax
mov ecx, dword [ebx + 0x48]
sub ecx, dword [esi + 0x108]
mov eax, dword [ebx + 0x4c]
sbb eax, dword [esi + 0x10c]
cmp eax, edx
ja 0x4160d9
jb 0x4160b9
cmp ecx, dword [ebp + 8]
jae 0x4160d9
mov byte [esi + 0x14b], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push 0
push 1
push dword [ebp - 0x14]
mov eax, dword [ecx]
push dword [ebp - 0x1c]
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x4160c5
xor ecx, ecx
cmp ecx, dword [ebp - 0x20]
jne 0x416388
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x41611d
push eax
call fcn.00a3c1e3
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
push eax
push edi
push dword [ebx]
mov dword [ebp - 4], 0
call fcn.0041e090
mov dword [ebp + 8], eax
test eax, eax
je 0x416154
push edi
call fcn.00a3c1ec
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.00401200
cmp eax, dword [ebp - 0x28]
jne 0x4163a1
cmp byte [esi + 0x14c], 0
jne 0x416177
mov byte [esi + 0x149], 1
mov word [ebp - 0x28], 0
mov edx, dword [ebx + 4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
cmp edx, 4
je 0x4163a6
lea eax, [edx + 1]
mov word [ebp - 0x28], 1
lea eax, [edx + eax*2]
mov dword [ebp - 0x38], 0
lea ecx, [ebx + eax*4]
lea eax, [edx + 1]
mov dword [ebx + 0x38], ecx
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx], edi
xor edi, edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov ecx, dword [ebx + 0x38]
mov byte [ebp - 4], 2
call fcn.00416f60
cmp eax, 1
jne 0x4161df
test edx, edx
je 0x4162fc
cmp eax, 0x17
jne 0x4163a1
test edx, edx
jne 0x4163a1
push dword [ebp + 0x18]
lea eax, [ebp - 0x38]
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x118]
push eax
push dword [esi + 0x10c]
push dword [esi + 0x108]
call fcn.00415700
mov dword [ebp + 8], eax
test eax, eax
je 0x416282
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
test esi, esi
je 0x41624f
nop dword [eax + eax]
mov edi, dword [ebx + esi*4 - 4]
dec esi
test edi, edi
je 0x41624b
push dword [edi]
call fcn.00a3c1ec
push 8
push edi
call fcn.00a3c1d5
add esp, 0xc
test esi, esi
jne 0x416230
push ebx
call fcn.00a3c1ec
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00414bf0
push dword [ebp - 0x24]
call fcn.00a3c1ec
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x4162bd
push dword [ebp - 0x38]
call fcn.00a3c1ec
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00414bf0
push dword [ebp - 0x24]
call fcn.00a3c1ec
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp edi, 1
ja 0x4163a1
lea ecx, [ebp - 0x2c]
call fcn.00414bf0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push 0
mov eax, dword [eax]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.00418410
mov ecx, dword [ebx + 0x38]
call fcn.00416f60
cmp eax, 1
jne 0x4163a1
test edx, edx
jne 0x4163a1
push dword [ebp + 0x18]
mov byte [esi + 0x148], 1
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0x7c]
push dword [ebp + 0x10]
mov eax, dword [ebx + 0x78]
push dword [ebp + 0xc]
mov dword [esi + 0x13c], ecx
mov ecx, ebx
push esi
mov dword [esi + 0x138], eax
call fcn.00416460
mov ebx, eax
test edi, edi
je 0x416354
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + edi*4 - 4]
dec edi
test esi, esi
je 0x416350
push dword [esi]
call fcn.00a3c1ec
push 8
push esi
call fcn.00a3c1d5
mov eax, dword [ebp - 0x38]
add esp, 0xc
test edi, edi
jne 0x416332
push dword [ebp - 0x38]
call fcn.00a3c1ec
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00414bf0
push dword [ebp - 0x24]
call fcn.00a3c1ec
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x8007000e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.00418600
call fcn.00418600
int3