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

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
mov eax, dword [esi + 0x60]
inc eax
test eax, eax
jle 0x481f53
xor ebx, ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x114]
mov edx, dword [esi + 8]
push ecx
lea ecx, [eax + ebx + 0xe4]
push edx
push ecx
call fcn.00478c10
mov edx, dword [esi + 0x60]
add esp, 0xc
inc edi
add ebx, 0xf0
inc edx
cmp edi, edx
jl 0x481f26
mov eax, dword [esi + 0x114]
push eax
call fcn.00486350
mov eax, dword [esi + 0x60]
add esp, 4
test eax, eax
jle 0x481fc8
xor edi, edi
test eax, eax
jle 0x481fb9
mov ecx, dword [esi + 0x124]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x481fb1
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
add eax, 0x38
push ecx
push eax
call fcn.00478c10
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00486350
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
push eax
call fcn.00486350
add esp, 0x14
mov eax, dword [esi + 0x60]
inc edi
cmp edi, eax
jl 0x481f6f
mov ecx, dword [esi + 0x124]
push ecx
call fcn.00486350
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 8]
push edx
add ecx, 0x38
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 8]
push edx
add ecx, 0x38
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xc0]
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xcc]
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xe4]
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x128]
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add esp, 0x48
lea ecx, [esi + 0x134]
push edx
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x140]
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xfc]
push eax
push ecx
call fcn.00478c10
mov al, byte [esi + 0x18]
add esp, 0x24
test al, 1
je 0x4820ba
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xa8]
push eax
push ecx
call fcn.00478c10
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xb4]
push eax
push ecx
call fcn.00478c10
add esp, 0x18
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x44]
push eax
call fcn.00486350
mov ecx, dword [esi + 0xa0]
push ecx
call fcn.00486350
mov edx, dword [esi + 0xa4]
mov eax, dword [edx + 0x44]
push eax
call fcn.00486350
mov ecx, dword [esi + 0xa4]
push ecx
call fcn.00486350
mov al, byte [esi + 0x18]
add esp, 0x10
test al, 4
je 0x482109
mov edx, dword [esi + 0x98]
push edx
call fcn.00486350
add esp, 4
test byte [esi + 0x18], 8
je 0x48211e
mov eax, dword [esi + 0x9c]
push eax
call fcn.00486350
add esp, 4
mov eax, dword [esi + 0x90]
test eax, eax
jle 0x482186
mov edx, dword [esi + 0x248]
xor ecx, ecx
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x10302
test eax, eax
mov dword [esp + 0x10], edx
jle 0x482177
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + edi*8]
lea eax, [eax + edi*8]
test ecx, ecx
je 0x48216c
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push 0
push edx
push 2
push eax
call ecx
add esp, 0x10
mov eax, dword [esi + 0x90]
inc edi
cmp edi, eax
jl 0x48214a
mov ecx, dword [esi + 0x94]
push ecx
call fcn.00486350
add esp, 4
mov edx, dword [esi + 0x78]
push edx
call fcn.00486350
mov eax, dword [esi + 0x88]
add esp, 4
test eax, eax
jbe 0x4821ab
mov eax, dword [esi + 0x8c]
push eax
call fcn.00486350
add esp, 4
mov eax, dword [esi + 0x240]
test eax, eax
jle 0x48225b
mov ebx, 1
mov edi, 0x48
mov eax, dword [esi + 0x240]
mov ecx, dword [esi + 0x250]
cmp eax, ecx
mov edx, eax
jl 0x4821d7
mov edx, ecx
cmp edx, 1
jge 0x4821e3
mov eax, 1
jmp 0x4821e9
cmp eax, ecx
jl 0x4821e9
mov eax, ecx
cmp ebx, eax
jge 0x482216
mov ecx, dword [esi + 0x244]
mov edx, dword [edi + ecx + 0x3c]
push edx
call fcn.00486350
mov eax, dword [esi + 0x244]
mov ecx, dword [edi + eax + 0x40]
push ecx
call fcn.00486350
add esp, 8
inc ebx
add edi, 0x48
jmp 0x4821c3
mov edx, dword [esi + 0x244]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x48222c
push eax
call fcn.00486350
add esp, 4
mov eax, dword [esi + 0x240]
xor edi, edi
test eax, eax
jle 0x48225b
xor ebx, ebx
mov eax, dword [esi + 0x244]
mov ecx, dword [ebx + eax + 0x1c]
push ecx
call fcn.00486350
mov eax, dword [esi + 0x240]
add esp, 4
inc edi
add ebx, 0x48
cmp edi, eax
jl 0x48223a
mov edx, dword [esi + 0x244]
push edx
call fcn.00486350
push esi
call fcn.00486350
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret