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

Disassembly:
sub esp, 0x84
mov eax, dword [0x59a024]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, 4
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x78]
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
push 7
lea edx, [esp + 0x84]
lea eax, [esp + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xa0]
push eax
lea edx, [esp + 0x90]
push ecx
mov dword [esp + 0x74], edx
mov edx, dword [ebx + 0x20]
push ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0xce536358
mov dword [esp + 0x38], 0xce536359
mov dword [esp + 0x44], 0xce53635a
mov dword [esp + 0x50], 0xce53635b
mov dword [esp + 0x5c], 0xce53635d
mov dword [esp + 0x68], 0xce53635e
mov dword [esp + 0x74], 0xce53635f
call edx
add esp, 0x10
test eax, eax
je 0x48651b
cmp eax, 0x12
je 0x48651b
mov dword [esp + 0x10], 2
jmp 0x486695
push edi
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 7
jmp 0x486534
mov esi, dword [esp + 0x18]
xor eax, eax
cmp dword [ebp], eax
jbe 0x48654d
mov edx, dword [edi]
mov ecx, esi
nop
cmp edx, dword [ecx]
je 0x48656a
inc eax
add ecx, 0xc
cmp eax, dword [ebp]
jb 0x486540
xor esi, esi
or eax, 0xffffffff
cmp dword [edi + 8], eax
jne 0x486572
test esi, esi
je 0x4865a7
cmp dword [esi + 8], eax
je 0x4865a7
mov dword [esp + 0x14], 2
jmp 0x4865a7
lea eax, [eax + eax*2]
lea esi, [esi + eax*4]
jmp 0x48654f
test esi, esi
je 0x4865a7
mov ecx, dword [esp + 0x98]
push esi
push edi
push ecx
call fcn.00486320
add esp, 0xc
cmp eax, 2
jne 0x486593
mov dword [esp + 0x14], eax
jmp 0x4865a7
cmp eax, 3
jne 0x4865a7
mov edx, dword [esp + 0x18]
push ebp
push edx
push esi
call fcn.004862c0
add esp, 0xc
add edi, 0xc
sub dword [esp + 0x1c], 1
jne 0x486530
mov esi, 2
cmp dword [esp + 0x14], esi
jne 0x486658
mov edx, dword [esp + 0xa0]
push 1
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x1b]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x20]
push ebx
mov byte [esp + 0x23], 0
mov dword [esp + 0x30], 0xce536360
mov dword [esp + 0x38], 1
call eax
add esp, 0x10
test eax, eax
jne 0x486694
cmp byte [esp + 0x13], 1
jne 0x486694
mov edx, dword [ebp]
test edx, edx
jbe 0x48662c
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x486620
cmp esi, dword [ecx]
je 0x48662c
inc eax
add ecx, 0xc
cmp eax, edx
jb 0x486620
cmp eax, edx
je 0x486694
inc eax
cmp eax, edx
jae 0x486652
mov esi, dword [esp + 0x18]
lea ecx, [eax + eax*2]
lea esi, [esi + ecx*4]
mov ecx, edx
sub ecx, eax
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
lea edi, [esi - 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
dec edx
mov dword [ebp], edx
jmp 0x486694
xor eax, eax
cmp dword [ebp], eax
jbe 0x486694
mov edx, dword [esp + 0x18]
mov ecx, edx
cmp dword [ecx], 0xce536360
je 0x486678
inc eax
add ecx, 0xc
cmp eax, dword [ebp]
jb 0x486665
jmp 0x486694
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
test eax, eax
je 0x486694
cmp dword [eax + 8], 1
jne 0x486694
mov ecx, dword [eax + 4]
cmp byte [ecx], 1
jne 0x486694
mov dword [esp + 0x14], esi
pop edi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409b58
add esp, 0x84
ret