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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.0043ace0
mov eax, dword [ebx + 0xd8]
mov edx, dword [ebx + 0xe0]
mov ecx, dword [ebx + 0xdc]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xe4]
mov dword [ebp + 0x10], edx
mov edx, dword [ebx]
mov edx, dword [edx + 0x178]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x58]
mov dword [ebp + 0xc], ecx
push eax
mov ecx, ebx
call edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [esp + 0x60]
mov esi, dword [ebp + 8]
add esi, dword [esp + 0x58]
mov edx, dword [ebp + 0xc]
add edx, dword [esp + 0x5c]
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x64]
mov dword [ebp + 0x10], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x388]
mov dword [ebp + 8], esi
mov dword [esp + 0x38], esi
mov esi, edx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x14], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x460e8b
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x460e8b
mov ecx, dword [ebx + 0x388]
mov eax, dword [ecx + 0x360]
sub dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ecx + 0x360]
mov byte [esp + 0x13], 1
mov dword [ebp + 0x14], eax
add eax, dword [ecx + 0x358]
mov dword [ebp + 0x14], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x388]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
sub dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x38c]
test ecx, ecx
je 0x460ee8
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
test al, al
je 0x460ee8
mov ecx, dword [ebx + 0x38c]
mov edx, dword [ecx + 0x360]
sub dword [ebp + 8], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ecx + 0x360]
mov dword [ebp + 0x10], eax
add eax, dword [ecx + 0x358]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
mov ecx, dword [ebx + 0x38c]
sub dword [ebp + 0x14], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
sub dword [esp + 0x44], eax
cmp dword [ebx + 0x41c], 0
je 0x461098
mov eax, dword [ebx + 0x444]
mov edi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x440]
mov ecx, dword [ebx + 0x448]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x44c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
test edi, edi
je 0x460f41
lea ecx, [esp + 0x28]
push ecx
call fcn.0042e900
mov edi, eax
call fcn.00434360
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x44]
sub dword [esp + 0x20], ecx
mov dword [esp + 0x48], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x38]
sub dword [esp + 0x24], eax
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0x14]
add edi, edx
mov dword [esp + 0x54], esi
mov esi, dword [ebp + 8]
sub dword [esp + 0x54], eax
add edx, esi
mov esi, dword [ebx + 0x41c]
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x2c]
add dword [esp + 0x4c], edx
lea eax, [esp + 0x18]
sub edi, ecx
call fcn.0045fb00
cmp byte [esp + 0x13], 0
je 0x461098
mov ecx, dword [ebx + 0x388]
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x460fdd
cmp byte [ebx + 0x420], 0
je 0x461098
mov ecx, dword [ebx + 0x388]
mov eax, dword [ecx]
mov edx, dword [eax + 0x88]
call edx
sub edi, dword [esp + 0x48]
mov edx, dword [ebx]
add eax, edi
mov dword [esp + 0x18], eax
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x41c]
mov dword [esp + 0x14], 0
mov esi, dword [eax + 0xc]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
mov eax, dword [eax + 0x78]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
push ecx
push 1
push 0
push 0
push eax
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
cmp dword [esp + 0x14], eax
jle 0x461076
mov ecx, dword [ebx + 0x388]
mov eax, dword [ecx]
mov edx, dword [eax + 0x104]
push 1
call edx
mov ecx, dword [ebx + 0x388]
xor eax, eax
call fcn.00473f30
mov byte [ebx + 0x420], 1
jmp 0x461098
cmp byte [ebx + 0x420], 0
je 0x461098
mov ecx, dword [ebx + 0x388]
mov eax, dword [ecx]
mov edx, dword [eax + 0x104]
push 0
call edx
mov byte [ebx + 0x420], 0
mov ecx, dword [ebx + 0x388]
test ecx, ecx
je 0x4610ed
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x4610ed
mov ecx, dword [ebx + 0x388]
mov eax, dword [ecx]
mov edx, dword [eax + 0x88]
call edx
mov esi, dword [esp + 0x40]
mov ecx, dword [ebx + 0x388]
mov edi, dword [ecx]
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
add eax, esi
mov esi, dword [esp + 0x50]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [esp + 0x58]
mov dword [edx + 0xc], eax
mov edx, dword [edi + 0x5c]
call edx
mov ecx, dword [ebx + 0x38c]
test ecx, ecx
je 0x461144
mov eax, dword [ecx]
mov edx, dword [eax + 0x100]
call edx
test al, al
je 0x461144
mov ecx, dword [ebx + 0x38c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
mov edi, dword [esp + 0x38]
add eax, dword [esp + 0x44]
mov ecx, dword [ebx + 0x38c]
mov esi, dword [ecx]
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [esp + 0x58]
mov dword [edx + 4], edi
mov edi, dword [esp + 0x54]
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x5c]
call eax
xor edi, edi
cmp dword [ebx + 0x358], edi
mov dword [esp + 0x14], edi
jle 0x46127d
jmp 0x461160
mov ecx, dword [ebx + 0x354]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x100]
mov ecx, esi
call eax
test al, al
je 0x46126c
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
je 0x46119f
mov edx, dword [ebx]
mov eax, dword [edx + 0x204]
push edi
mov ecx, ebx
call eax
jmp 0x46126c
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [esi]
mov edi, dword [ebp + 0x14]
sub edi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
cmp dword [esp + 0x18], eax
jge 0x4611d1
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
mov ecx, esi
call eax
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
cmp dword [esp + 0x18], eax
jle 0x4611f3
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
cmp edi, eax
jge 0x461211
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
cmp edi, eax
jle 0x46122f
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov edi, eax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
add eax, ecx
push 0
mov dword [esp + 0x54], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
add edi, edx
mov dword [eax + 4], edx
mov dword [esp + 0x68], edi
mov edx, dword [esp + 0x68]
mov edi, dword [esi]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x5c]
mov ecx, esi
call eax
mov edi, dword [esp + 0x14]
inc edi
cmp edi, dword [ebx + 0x358]
mov dword [esp + 0x14], edi
jl 0x461160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14