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

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x38]
call fcn.004aa630
mov ebp, dword [esp + 0xc8]
mov ecx, dword [edi + 0x2f]
mov esi, dword [ebp + 0x1d]
lea ebx, [ebp + 0x1d]
mov dword [esp + 0x10], ebx
call fcn.00406740
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x40]
call fcn.004aa510
mov ecx, dword [edi + 0x2f]
mov si, word [ebp + 0x27]
mov ecx, dword [ecx + 0x57]
call fcn.004b0cc0
mov edx, dword [edi + 0x33]
mov ecx, dword [edi + 0x2f]
push edx
call fcn.00407a50
push 0
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004b5f50
mov ecx, dword [esp + 0x14]
movsx ebp, si
push ebp
push 0x4e1
call fcn.004b5d40
mov ecx, dword [edi + 0x2f]
mov ebx, dword [ebx]
mov esi, eax
call fcn.00406790
cmp ebx, dword [eax]
jge 0x485285
xor ebx, ebx
cmp esi, ebx
je 0x48553b
cmp dword [esi + 0x1b], ebp
jne 0x485287
mov eax, dword [esp + 0x10]
mov cx, word [eax + 4]
cmp cx, word [eax + 0xc]
je 0x485287
mov cl, byte [esi + 0x10]
mov eax, dword [edi + 0x3b]
test cl, 2
jne 0x4851d9
mov edx, dword [esi]
push ebx
push eax
push 0x4e1
mov ecx, esi
call dword [edx + 0xc]
jmp 0x4851e7
mov ecx, dword [esi + 8]
push eax
push 0x4e1
call fcn.004ac950
mov ebp, eax
cmp ebp, ebx
je 0x485262
lea ecx, [esp + 0x18]
call fcn.004aa630
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.004aa040
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1e]
push ecx
push edx
push 1
lea ecx, [esp + 0x24]
call fcn.004a9850
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x485233
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004aa040
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
push ebp
push eax
push ecx
push 1
mov ecx, edi
call fcn.00484410
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x10], 2
jne 0x485278
mov eax, dword [esi + 4]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [ebp + 8]
push esi
call fcn.004acb20
mov esi, eax
jmp 0x485287
xor ebx, ebx
cmp esi, ebx
je 0x48553b
mov eax, dword [esp + 0x42]
mov edx, dword [esi + 0x1b]
movsx ecx, ax
cmp edx, ecx
jle 0x48541c
mov cl, byte [esi + 0x10]
mov eax, dword [edi + 0x3b]
test cl, 2
jne 0x4852bc
mov edx, dword [esi]
push ebx
push eax
push 0x4e1
mov ecx, esi
call dword [edx + 0xc]
jmp 0x4852ca
mov ecx, dword [esi + 8]
push eax
push 0x4e1
call fcn.004ac950
mov ebp, eax
cmp ebp, ebx
je 0x4853ee
mov eax, dword [esp + 0xc8]
cmp dword [eax + 4], ebx
jne 0x48534b
movsx ecx, word [esp + 0x42]
cmp dword [esi + 0x1b], ecx
jne 0x4852f2
cmp word [esp + 0x3c], 1
jle 0x48534b
test byte [ebp + 0x10], 2
jne 0x485305
mov edx, dword [ebp]
push ebx
push 0x64
mov ecx, ebp
call dword [edx + 8]
jmp 0x485310
mov ecx, dword [ebp + 8]
push ebx
push 0x64
call fcn.004ac8f0
cmp eax, ebx
je 0x485324
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xc4]
push eax
call fcn.004e5a70
push ebx
push 0x56
mov ecx, ebp
call fcn.00404010
cmp eax, ebx
je 0x4853ee
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0xc4]
call fcn.004ce940
jmp 0x4853ee
lea ecx, [esp + 0x28]
call fcn.004aa630
lea ecx, [esp + 0x18]
call fcn.004aa630
mov edx, dword [esi + 0x1b]
lea ecx, [esp + 0x28]
push edx
call fcn.004aa0a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2e]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.004a9850
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
call fcn.004aa040
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1e]
push ecx
push edx
push 1
lea ecx, [esp + 0x24]
call fcn.004a9850
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x4853bf
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004aa040
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x28]
mov eax, dword [edx + 4]
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
push ebp
push eax
push ecx
push 1
mov ecx, edi
call fcn.00484410
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x10], 2
jne 0x485404
mov eax, dword [esi + 4]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [ebp + 8]
push esi
call fcn.004acb20
mov esi, eax
cmp esi, ebx
jne 0x48528f
jmp 0x48553b
cmp esi, ebx
je 0x48553b
movsx ecx, ax
cmp dword [esi + 0x1b], ecx
jne 0x48553b
mov cl, byte [esi + 0x10]
mov eax, dword [edi + 0x3b]
test cl, 2
jne 0x48544b
mov edx, dword [esi]
push ebx
push eax
push 0x4e1
mov ecx, esi
call dword [edx + 0xc]
jmp 0x485459
mov ecx, dword [esi + 8]
push eax
push 0x4e1
call fcn.004ac950
mov ebp, eax
cmp ebp, ebx
je 0x48553b
cmp dword [esi + 0x1b], ebx
jne 0x4854de
mov eax, dword [esp + 0xc8]
cmp dword [eax + 4], ebx
jne 0x48553b
test byte [ebp + 0x10], 2
jne 0x48548b
mov edx, dword [ebp]
push ebx
push 0x64
mov ecx, ebp
call dword [edx + 8]
jmp 0x485496
mov ecx, dword [ebp + 8]
push ebx
push 0x64
call fcn.004ac8f0
cmp eax, ebx
je 0x4854aa
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xc4]
push eax
call fcn.004e5a70
test byte [ebp + 0x10], 2
jne 0x4854bd
mov edx, dword [ebp]
push ebx
push 0x56
mov ecx, ebp
call dword [edx + 8]
jmp 0x4854c8
mov ecx, dword [ebp + 8]
push ebx
push 0x56
call fcn.004ac8f0
cmp eax, ebx
je 0x48553b
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xc0]
push eax
call fcn.004ce940
jmp 0x48553b
lea ecx, [esp + 0x28]
call fcn.004aa630
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004aa040
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2e]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004a9850
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x28]
mov edx, dword [eax + 4]
add eax, 0xf
push edx
mov edx, dword [esp + 0xc8]
push ecx
push eax
mov eax, dword [esp + 0xcc]
push ebp
push edx
push eax
push 1
mov ecx, edi
call fcn.00484410
mov ecx, dword [esp + 0xc8]
cmp dword [ecx + 4], ebx
jne 0x4855e6
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.004d0980
lea ecx, [esp + 0x94]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.004cf970
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], ebx
call fcn.004cf660
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x74]
mov eax, dword [edx]
lea edx, [esp + 0x4c]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0047f6e0
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x48]
push eax
call fcn.004e5b20
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0xc4]
call fcn.004ce9d0
mov ecx, dword [esp + 0x14]
call fcn.004b5f90
mov edx, dword [edi + 0x2f]
mov ecx, dword [edx + 0x57]
call fcn.004b0ce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0xc