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

Disassembly:
sub esp, 0x74
push ebx
push esi
mov esi, dword [esp + 0x80]
xor ebx, ebx
test esi, esi
jne 0x4868d2
push 0xffffffffffffff9a
pop eax
jmp 0x486d97
mov ecx, dword [esi + 0x58]
add ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x5c]
adc eax, dword [esi + 0x4c]
push ebp
push edi
push ebx
push eax
push ecx
push dword [esi + 0x30]
push esi
call fcn.00489ab3
add esp, 0x14
or ebp, 0xffffffff
test eax, eax
jne 0x48690b
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487033
add esp, 0xc
test eax, eax
je 0x48690f
mov ebx, ebp
jmp 0x48691d
cmp dword [esp + 0x18], 0x2014b50
push 0xffffffffffffff99
pop eax
cmovne ebx, eax
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x4c]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x5c]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x6c]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487033
test eax, eax
lea eax, [esp + 0xa8]
push eax
cmovne ebx, ebp
xor eax, eax
push eax
push dword [esp + 0x80]
call fcn.00486844
add esp, 0x48
lea eax, [esp + 0x40]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487033
test eax, eax
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487033
test eax, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
cmovne ebx, ebp
xor eax, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x28]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487033
test eax, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
cmovne ebx, ebp
xor eax, eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x88]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x98]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487229
add esp, 0x48
test eax, eax
lea eax, [esp + 0x60]
cmovne ebx, ebp
push eax
push dword [esi + 0x30]
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x70]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487229
test eax, eax
lea eax, [esp + 0x80]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487033
test eax, eax
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x30]
cmovne ebx, ebp
push esi
call fcn.00487033
mov edi, dword [esp + 0x84]
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmovne ebx, ebp
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x28], edx
test ebx, ebx
jne 0x486b77
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x486ae9
mov eax, dword [esp + 0x98]
cmp edi, eax
jae 0x486abd
mov byte [edi + ecx], dl
mov ebp, edi
jmp 0x486abf
mov ebp, eax
test edi, edi
je 0x486adf
test eax, eax
je 0x486adf
push ebp
push ecx
push dword [esi + 0x30]
push dword [esi + 0x1c]
call dword [esi + 4]
add esp, 0x10
cmp eax, ebp
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
xor edx, edx
sub edi, ebp
test ebx, ebx
jne 0x486b77
cmp dword [esp + 0x9c], 0
je 0x486b77
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], ebp
cmp ebp, eax
jb 0x486b0e
mov dword [esp + 0x10], eax
test edi, edi
je 0x486b39
push 1
mov eax, edi
cdq
push edx
push eax
push dword [esi + 0x30]
push esi
call fcn.00489ab3
add esp, 0x14
test eax, eax
jne 0x486b2d
mov edi, eax
jmp 0x486b32
or eax, 0xffffffff
mov ebx, eax
mov eax, dword [esp + 0xa0]
test ebp, ebp
je 0x486b6b
test eax, eax
je 0x486b6b
push dword [esp + 0x10]
push dword [esp + 0xa0]
push dword [esi + 0x30]
push dword [esi + 0x1c]
call dword [esi + 4]
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
jne 0x486b64
xor eax, eax
je 0x486b6f
or eax, 0xffffffff
mov ebx, eax
jmp 0x486b6f
mov ecx, dword [esp + 0x10]
mov eax, ebp
sub eax, ecx
add edi, eax
jmp 0x486b7d
mov ebp, dword [esp + 0x58]
add edi, ebp
test ebx, ebx
jne 0x486d93
test ebp, ebp
je 0x486ce8
xor eax, eax
sub edi, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
je 0x486bbf
push 1
mov eax, edi
cdq
push edx
push eax
push dword [esi + 0x30]
push esi
call fcn.00489ab3
add esp, 0x14
test eax, eax
jne 0x486bba
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x486bbf
or eax, 0xffffffff
mov ebx, eax
test ebp, ebp
je 0x486ce0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487229
push 0xffffffffffffffff
test eax, eax
pop eax
cmovne ebx, eax
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487229
add esp, 0x18
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
cmp dword [esp + 0x1c], 1
jne 0x486cae
xor ecx, ecx
cmp dword [esp + 0x4c], eax
jne 0x486c32
cmp dword [esp + 0x50], ecx
jne 0x486c32
lea eax, [esp + 0x4c]
push eax
push dword [esi + 0x30]
push esi
call fcn.004870cf
mov ebp, dword [esp + 0x64]
add esp, 0xc
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
xor ecx, ecx
cmp dword [esp + 0x44], eax
jne 0x486c5b
cmp dword [esp + 0x48], ecx
jne 0x486c5b
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x30]
push esi
call fcn.004870cf
mov ebp, dword [esp + 0x64]
add esp, 0xc
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
cmp dword [esp + 0x14], eax
jne 0x486c8c
cmp dword [esp + 0x28], 0
jne 0x486c8c
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x30]
push esi
call fcn.004870cf
add esp, 0xc
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
or eax, 0xffffffff
cmp dword [esp + 0x60], eax
jne 0x486ccb
lea eax, [esp + 0x20]
push eax
push dword [esi + 0x30]
push esi
call fcn.00487033
add esp, 0xc
test eax, eax
je 0x486ccb
or eax, 0xffffffff
mov ebx, eax
jmp 0x486ccb
push 1
xor eax, eax
push eax
push dword [esp + 0x18]
push dword [esi + 0x30]
push esi
call fcn.00489ab3
add esp, 0x14
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
mov eax, dword [esp + 0x10]
add eax, 4
add edi, eax
cmp edi, ebp
jb 0x486bcb
mov edi, dword [esp + 0x18]
test ebx, ebx
jne 0x486d93
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x486d67
mov ebp, dword [esp + 0x5c]
cmp ebp, dword [esp + 0xa8]
jae 0x486d0a
mov byte [eax + ebp], 0
mov dword [esp + 0x18], ebp
jmp 0x486d15
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x18], ecx
test edi, edi
je 0x486d3b
push 1
mov eax, edi
cdq
push edx
push eax
push dword [esi + 0x30]
push esi
call fcn.00489ab3
add esp, 0x14
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
mov eax, dword [esp + 0xa4]
test ebp, ebp
je 0x486d63
cmp dword [esp + 0xa8], 0
jbe 0x486d63
mov edi, dword [esp + 0x18]
push edi
push eax
push dword [esi + 0x30]
push dword [esi + 0x1c]
call dword [esi + 4]
add esp, 0x10
cmp eax, edi
push 0xffffffffffffffff
pop eax
cmovne ebx, eax
test ebx, ebx
jne 0x486d93
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x486d7b
push 0x16
pop ecx
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x486d93
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
pop edi
mov eax, ebx
pop ebp
pop esi
pop ebx
add esp, 0x74
ret