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

Disassembly:
push 0xffffffffffffffff
push 0x4dab40
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x84]
xor ebp, ebp
mov dword [esp + 0x24], ebp
cmp dword [esi + 4], ebp
jne 0x488783
lea eax, [esp + 0x28]
push eax
mov ecx, 0x4e7868
call fcn.00405a00
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x7c], ebp
call fcn.0047aaf0
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x488783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp eax, ebp
ja 0x4887bd
mov esi, dword [esp + 0x7c]
push esi
mov ecx, 0x4e7868
call fcn.00405a00
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [esp + 0x1c]
mov esi, edx
xor ebp, ebp
cmp ecx, eax
jae 0x488a03
mov edx, dword [esi]
mov eax, dword [edx + ecx*8]
lea esi, [edx + ecx*8]
sub eax, 0x10
call fcn.00408230
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov edi, 1
push edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x80], edi
call fcn.00484710
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x74], 2
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
lea esi, [esp + 0x30]
call fcn.00484880
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x488870
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
push edx
call fcn.004530d0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x5c], edi
cmp eax, 3
jb 0x488870
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xef
jne 0x488874
cmp byte [edi + 1], 0xbb
jne 0x488874
cmp byte [edi + 2], 0xbf
jne 0x488874
mov dword [esp + 0x4c], 3
mov dword [esp + 0x5c], 2
jmp 0x488874
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00477160
add esp, 4
mov byte [esp + 0x74], 3
mov ebp, dword [esp + 0x20]
cmp dword [ebp - 0xc], 0
jle 0x488991
push 0x7c
push ebp
call fcn.004a9e26
add esp, 8
test eax, eax
je 0x488991
sub eax, ebp
sar eax, 1
mov edi, eax
test edi, edi
jle 0x488991
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x20]
push ecx
mov eax, edi
xor ecx, ecx
lea edx, [esp + 0x28]
mov byte [esp + 0x78], 4
call fcn.0040b870
mov byte [esp + 0x74], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x48893a
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x488929
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x488929
call fcn.00408230
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x488920
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov dword [esp + 0x18], esi
jmp 0x48893a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00405e30
mov esi, dword [esp + 0x18]
mov byte [esp + 0x74], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48895f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x18]
call fcn.00489910
test al, al
jne 0x488a0d
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488991
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x74], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4889b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
call fcn.004847c0
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4889e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x4887b5
jmp 0x488790
push 0x80070057
call fcn.00405ef0
lea edi, [ebp - 0x10]
mov eax, edi
call fcn.00408230
mov ebx, dword [esp + 0x7c]
add eax, 0x10
mov dword [ebx], eax
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488a41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488a5f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ecx, [esp + 0x30]
call fcn.004847c0
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488a90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret