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

Disassembly:
push 0x6c
mov eax, 0x43cf31
call fcn.0042cbb7
cmp byte [ebx + 0x110], 0
jne 0x415dd0
mov eax, dword [ebx + 0x24]
xor ecx, ecx
cmp eax, ecx
jne 0x415aba
cmp byte [ebx + 0x48], cl
jne 0x415a3f
push 0x448d34
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.0042c7a6
cmp dword [ebx + 0x38], ecx
jne 0x415a2a
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x48], 0x444754
mov dword [ebp - 4], ecx
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov esi, eax
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x1c]
push eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x50], 0x6f10701
mov dword [ebp - 0x4c], ecx
call fcn.00415f3a
push esi
lea eax, [ebx + 0x58]
push esi
mov esi, eax
call fcn.004089e9
push 0
lea esi, [ebx + 0x80]
call fcn.00409846
push 0
lea esi, [ebx + 0x94]
call fcn.00409846
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x48]
push eax
call fcn.0040a91d
jmp 0x415d6a
cmp eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
jle 0x415b60
cmp dword [ebx + 0x38], ecx
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x20], eax
jne 0x415b3c
mov eax, dword [ebx + 0x24]
dec eax
cmp edx, eax
jge 0x415afd
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, edi
push eax
lea esi, [ebx + 0x6c]
call fcn.004089e9
jmp 0x415b12
lea esi, [ebx + 0x94]
xor eax, eax
call fcn.0041181a
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
xor eax, eax
inc eax
cmp dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
jbe 0x415b3c
lea esi, [ebx + 0x94]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
push ecx
call fcn.00409846
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jb 0x415b23
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x18], edi
add dword [ebp - 0x14], eax
push eax
push edi
lea esi, [ebx + 0x58]
call fcn.004089e9
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, dword [ebx + 0x24]
jl 0x415acb
mov eax, dword [ebx + 0x38]
cmp eax, ecx
je 0x415bef
mov dword [ebp - 0x10], ecx
jle 0x415bc6
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 0x3c]
add eax, dword [ebp - 0x1c]
mov esi, dword [eax]
cmp esi, ecx
jbe 0x415b8a
mov edx, dword [ebx + 0x64]
add ecx, dword [edx]
add edx, 8
dec esi
jne 0x415b82
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor esi, esi
test edi, edi
jbe 0x415ba6
mov ecx, dword [ebx + 0x64]
add ecx, 4
add esi, dword [ecx]
add ecx, 8
dec edi
jne 0x415b9e
mov eax, dword [eax + 0xc]
add eax, esi
push eax
push edx
lea esi, [ebx + 0x6c]
call fcn.004089e9
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
xor ecx, ecx
cmp eax, dword [ebx + 0x38]
jl 0x415b73
xor edi, edi
cmp dword [ebp - 0x14], ecx
jle 0x415bef
push edi
lea ecx, [ebx + 0x58]
call fcn.00413a34
cmp eax, 0xffffffff
jne 0x415be7
push edi
lea esi, [ebx + 0x94]
call fcn.00409846
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x415bcd
xor ecx, ecx
xor edi, edi
cmp dword [ebp - 0x18], ecx
jle 0x415c18
push edi
lea ecx, [ebx + 0x58]
call fcn.00413a10
cmp eax, 0xffffffff
jne 0x415c10
push edi
lea esi, [ebx + 0x80]
call fcn.00409846
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x415bf6
xor ecx, ecx
cmp dword [ebx + 0x88], ecx
je 0x415a2a
mov eax, dword [ebx + 0x8c]
mov ecx, dword [eax]
lea esi, [ebx + 0x58]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00408a9c
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0x415c54
mov eax, dword [ebx + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x415c4c
lea esi, [ebx + 0x58]
push edi
mov ecx, esi
call fcn.00413a34
xor ecx, ecx
cmp eax, ecx
jl 0x415c6d
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + eax*8]
jmp 0x415c2f
cmp dword [ebx + 0x9c], ecx
jle 0x415ca9
mov eax, dword [ebx + 0xa0]
cmp dword [eax], edi
je 0x415c8d
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x9c]
jl 0x415c7b
jmp 0x415ca9
push 1
lea esi, [ebx + 0x94]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
xor eax, eax
call fcn.0041181a
mov eax, dword [esi + 0xc]
mov dword [eax], edi
cmp byte [ebx + 0x48], 0
je 0x415d6a
mov eax, dword [ebx + 0x9c]
xor edi, edi
test eax, eax
mov dword [ebp - 0x1c], eax
jle 0x415cdf
lea esi, [ebx + 0x6c]
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ebp - 0x18]
push dword [ecx + edi*4]
add eax, edi
push eax
call fcn.004089e9
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x415cc5
lea ecx, [ebx + 0x94]
push dword [ecx + 8]
mov eax, dword [ecx]
xor esi, esi
push esi
call dword [eax + 4]
cmp dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
jle 0x415d6a
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x70], 0x444754
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebx + 0x1c]
push eax
lea edi, [ebp - 0x78]
mov dword [ebp - 0x78], 0x6f10701
mov dword [ebp - 0x74], ecx
call fcn.00415f3a
xor eax, eax
inc eax
push eax
push eax
lea esi, [ebx + 0x58]
call fcn.004089e9
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, edi
push eax
lea esi, [ebx + 0x94]
call fcn.00409846
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x70]
push eax
call fcn.0040a91d
inc edi
cmp edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
jl 0x415cf8
mov edi, dword [ebx + 0x24]
dec edi
js 0x415d89
lea esi, [ebx + 0xfc]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + edi*4]
push dword [eax + 4]
push dword [eax]
call fcn.004089e9
dec edi
jns 0x415d76
push 0xa8
call fcn.00411865
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x415db2
lea eax, [ebx + 0x58]
push eax
push dword [ebp - 0x1c]
call fcn.004085a2
mov edi, eax
jmp 0x415db4
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xa8]
mov dword [ebx + 0xf8], edi
call fcn.00408839
mov byte [ebx + 0x110], 1
xor eax, eax
call fcn.0042cc8f
ret