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

Disassembly:
sub esp, 0x16c
mov eax, dword [0x7289f4]
xor eax, esp
mov dword [esp + 0x168], eax
push ebp
mov eax, 0x69a3b0
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], eax
push esi
mov esi, dword [esp + 0x17c]
movzx eax, word [esi]
sub eax, 4
mov ecx, 0x69a3ac
cdq
mov dword [esp + 0x3c], ecx
mov dword [esp + 8], ecx
mov ecx, 0x3c
idiv ecx
mov ecx, 0xc
mov ebp, dword [esp + 0x178]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0x69a3a8
mov dword [esp + 0xc0], 0x69a3a4
mov dword [esp + 0xc4], 0x69a3a0
mov dword [esp + 0xc8], 0x69a39c
mov dword [esp + 0xcc], 0x69a398
mov dword [esp + 0xd0], 0x69a394
mov dword [esp + 0xd4], 0x69a390
mov dword [esp + 0xd8], 0x69a38c
mov dword [esp + 0xdc], 0x69a388
mov dword [esp + 0xe0], 0x69a384
mov dword [esp + 0xe4], 0x69a380
mov dword [esp + 0xe8], 0x69a37c
mov dword [esp + 0x40], 0x69a374
mov dword [esp + 0x44], 0x69a36c
mov dword [esp + 0x48], 0x69a364
mov dword [esp + 0x4c], 0x69a35c
mov dword [esp + 0x50], 0x69a354
mov dword [esp + 0x54], 0x69a34c
mov dword [esp + 0x58], 0x69a344
mov dword [esp + 0x5c], 0x69a33c
mov dword [esp + 0x60], 0x69a334
mov eax, edx
cdq
idiv ecx
mov dword [esp + 0x64], 0x69a32c
mov dword [esp + 0x6c], 0x69a324
mov dword [esp + 0x70], 0x69a31c
mov dword [esp + 0x74], 0x69a314
mov dword [esp + 0x78], 0x69a30c
mov dword [esp + 0x7c], 0x69a304
mov dword [esp + 0x80], 0x69a2fc
mov dword [esp + 0x84], 0x69a2f4
mov dword [esp + 0x88], 0x69a2ec
mov dword [esp + 0x8c], 0x69a2e4
mov dword [esp + 0x90], 0x69a2dc
mov dword [esp + 0x94], 0x69a2d4
mov dword [esp + 0x98], 0x69a2cc
mov dword [esp + 0x9c], 0x69a2c4
mov dword [esp + 0xa0], 0x69a2bc
mov dword [esp + 0xa4], 0x69a2b4
mov dword [esp + 0xa8], 0x69a2ac
mov dword [esp + 0xac], 0x69a2a4
mov dword [esp + 0xb0], 0x69a29c
mov dword [esp + 0xb4], 0x69a294
mov dword [esp + 0xc], 0x69a290
mov dword [esp + 0x10], 0x69a28c
mov dword [esp + 0x14], 0x69a288
mov dword [esp + 0x18], 0x69a284
mov dword [esp + 0x1c], 0x69a280
mov dword [esp + 0x20], 0x69a27c
mov dword [esp + 0x24], 0x69a278
mov dword [esp + 0x28], 0x69a274
mov dword [esp + 0x2c], 0x69a270
mov dword [esp + 0x30], 0x69a26c
mov dword [esp + 0x38], 0x69a268
test edx, edx
jl 0x485b20
cmp edx, ecx
jae 0x485b20
mov edx, dword [esp + edx*4 + 0xbc]
push ebx
push edi
mov edi, dword [0x68a9c8]
push edx
lea eax, [esp + 0x104]
push 0x68b934
push eax
call edi
movzx eax, word [esi]
sub eax, 4
cdq
mov ecx, 0x3c
idiv ecx
mov ebx, 0xa
add esp, 0xc
mov ecx, edx
mov eax, edx
cdq
idiv ebx
test edx, edx
jl 0x485b19
cmp edx, ebx
jae 0x485b19
mov eax, ecx
cdq
mov ecx, 0xc
idiv ecx
test edx, edx
jl 0x485b19
cmp edx, ecx
jae 0x485b19
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x140]
push 0x69a260
push eax
call edi
movzx eax, word [esi + 2]
add esp, 0xc
cmp ax, 0xd
jae 0x485b12
cmp dword [esp + 0x188], 0
movzx ecx, ax
mov edx, dword [esp + ecx*4 + 0x10]
lea eax, [esp + 0xc4]
push edx
je 0x485a40
push 0x69a258
push eax
call edi
jmp 0x485a48
push 0x1e
push eax
call fcn.004e253d
add esp, 0xc
push 0x69a254
lea ecx, [esp + 0xc8]
push 0x1e
push ecx
call fcn.004e28bd
movzx eax, word [esi + 6]
add esp, 0xc
cmp ax, 0x1f
jae 0x485b0b
movzx edx, ax
mov eax, dword [esp + edx*4 + 0x44]
push eax
lea ecx, [esp + 0xc8]
push 0x1e
push ecx
call fcn.004e28bd
add esp, 0xc
cmp dword [esp + 0x18c], 0
je 0x485b01
lea eax, [esp + 0xc4]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485aa0
lea edi, [esp + 0x13c]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [edi + 2]
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x485ac0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
mov ecx, ebp
call fcn.00402ae0
pop edi
pop ebx
mov ecx, dword [esp + 0x170]
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004df5e6
add esp, 0x16c
ret 0x10
lea edx, [esp + 0xc4]
push edx
jmp 0x485add
push 0x69a240
jmp 0x485add
push 0x69a228
jmp 0x485add
push 0x69a210
jmp 0x485add
push 0x69a210
mov ecx, ebp
call fcn.00402ae0
jmp 0x485ae6