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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov edi, dword [ebx + 0x1c]
cmp dword [edi + 0x24], 0
je 0x4815ad
xor eax, eax
jmp 0x48181e
mov eax, dword [ebx + 0xc]
mov ecx, 0x6e180d
mov eax, dword [eax + 0x78]
test eax, eax
cmove eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4815a6
cmp byte [eax], 0
je 0x4815a6
lea eax, [esp + 0x3c]
mov dword [esp + 4], 0x6e1812
mov dword [esp], eax
call fcn.0063dd93
test eax, eax
mov dword [esp + 0x40], eax
je 0x481809
lea edx, [esp + 0x44]
mov dword [esp + 4], 0x6e1814
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.0063de6c
test eax, eax
mov esi, eax
jne 0x48161d
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.006489dc
jmp 0x481809
mov dword [esp], eax
call fcn.0047d0de
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x48165f
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x6e1816
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00647705
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.006489dc
mov eax, 0xdeb8aabe
jmp 0x48180e
mov dword [esp + 8], 4
mov eax, dword [edi + 0x24]
inc eax
mov dword [esp + 4], eax
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call fcn.00648964
test eax, eax
je 0x48160c
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x20], eax
lea ebp, [ecx + 1]
lea eax, [eax + ecx*4]
mov dword [edi + 0x24], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0047dc94
test eax, eax
jns 0x4816b1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
jmp 0x4817c9
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
cmp eax, 1
jne 0x4816dd
mov eax, dword [ecx]
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0x15f90
mov dword [esp + 4], ebx
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.004c81cf
jmp 0x481707
add eax, 0x3fffffff
mov ebp, dword [ecx + eax*4]
mov eax, dword [ecx + eax*4 - 4]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x14]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004c8163
test eax, eax
lea ebp, [esp + 0x40]
js 0x4817c2
cmp dword [esp + 0x44], 0
je 0x4817d4
mov eax, dword [esp + 0x2c]
cmp dword [eax + 8], 0
je 0x4817d4
mov dword [esp + 4], 0
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.00649bf4
test eax, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
je 0x481763
mov eax, dword [eax]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x10], 0x6e1873
mov dword [esp + 0xc], 0x6e1814
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.0064bab3
test eax, eax
jns 0x4817d4
cmp eax, 0xfffffff4
je 0x4817c2
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x6e1875
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call fcn.00647705
mov eax, 0xdeb8aabe
mov dword [esp + 0x2c], eax
mov dword [esp], ebp
call fcn.006489dc
mov eax, dword [esp + 0x2c]
jmp 0x48180e
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.006489dc
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp], eax
call fcn.0047dd80
test eax, eax
js 0x48180e
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x4815c1
inc eax
jmp 0x4815bd
mov eax, 0xfffffff4
mov dword [esp], ebx
mov dword [esp + 0x2c], eax
call fcn.00481556
mov eax, dword [esp + 0x2c]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret