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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4886a4
mov edi, edx
mov dword [esp + 4], ecx
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push esi
push dword [edx + 0x3c]
call fcn.00488ab0
test byte [esp + 0x20], 1
jne 0x4886b9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x488853
mov dword [esp + 0x28], eax
mov ebx, dword [edi + 0x3c]
lea ecx, [esp + 8]
push ebx
call fcn.00483120
test byte [esp + 0x10], 1
jne 0x48886c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 8], xmm0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], ebx
lea ecx, [esp + 0x3c]
call fcn.00483590
test byte [esp + 0x10], 1
je 0x488635
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
je 0x488635
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x34], 1
jne 0x488884
lea ecx, [esp + 0x68]
push 0
mov ebx, dword [ebp + 0xc]
push ebx
push dword [edi + 0x3c]
call fcn.00488ab0
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x68]
mov edx, dword [edi + 0x22c]
mov ecx, dword [edi + 0x238]
test ecx, ecx
je 0x4888eb
mov esi, ecx
mov ecx, ebx
shr ecx, 4
shr ebx, 9
xor ebx, ecx
mov dword [esp + 0x24], esi
lea ecx, [esi - 1]
mov dword [esp + 0x5c], ecx
and ebx, ecx
lea ecx, [ebx + ebx*2]
mov esi, dword [edx + ecx*4]
cmp esi, dword [ebp + 0xc]
jne 0x48889f
lea ecx, [edx + ecx*4]
mov esi, edx
mov edx, dword [esp + 0x24]
jmp 0x4888f7
and byte [ecx + 0x10], 0xfe
mov dword [ecx], 0
mov word [ecx + 4], 0
jmp 0x488a9d
mov eax, dword [ebx + 4]
mov dword [esp + 0xac], str.unable_to_read_an_entry_with_index
mov dword [esp + 0xb4], eax
mov word [esp + 0xbc], 0x903
lea eax, [esp + 0xac]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], str._from
mov word [esp + 0xd0], 0x302
mov edi, dword [edi + 0x3c]
lea ecx, [esp + 0x40]
push edi
call fcn.00483120
mov eax, esi
sub eax, dword [esp + 0x40]
sar eax, 3
mov ecx, dword [edi]
movzx ecx, word [ecx + 0x12]
rol cx, 8
imul ebx, eax, 0xcccccccd
movzx eax, cx
mov ecx, dword [esi + 4]
bswap ecx
push ecx
push eax
call fcn.0054f434
add esp, 8
mov word [esp + 0x3c], 0x305
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], str._section_with_index
lea edi, [esp + 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 0x10], ebx
mov word [esp + 0x18], 0x902
lea esi, [esp + 8]
lea ebx, [esp + 0x7c]
mov ecx, ebx
push esi
call fcn.0054f5a2
lea eax, [esp + 0xc0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov word [esp + 0x50], 0x402
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0x556440
mov word [esp + 0x3c], 0x302
xor eax, eax
test byte [esp + 0x20], 1
je 0x4887af
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
lea ebx, [esp + 0x70]
push eax
push ebx
call fcn.0054f518
add esp, 8
mov dword [esp + 8], edi
mov dword [esp + 0x10], ebx
mov word [esp + 0x18], 0x402
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
call fcn.0054f3f2
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
mov ecx, edi
call fcn.0054f20c
mov eax, dword [esp + 4]
or byte [eax + 0x10], 1
mov dword [eax], edi
test byte [esp + 0x70], 1
je 0x488827
push dword [esp + 0x78]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x488834
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x7c], 1
je 0x488a81
push dword [esp + 0x84]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x488a81
mov eax, dword [esp + 4]
and byte [eax + 0x10], 0xfe
mov dword [eax], 0
mov word [eax + 4], 0
jmp 0x488a81
mov eax, dword [esp + 8]
or byte [esp + 0x34], 1
mov dword [esp + 0x2c], eax
test byte [esp + 0x34], 1
je 0x488640
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 4]
or byte [ecx + 0x10], 1
mov dword [ecx], eax
jmp 0x488a6c
mov dword [esp], esi
mov dword [esp + 0x54], 1
mov esi, edx
mov edx, dword [esp + 0x24]
cmp dword [esp], 0xfffff000
mov ecx, edx
mov edx, esi
je 0x4888eb
add ebx, dword [esp + 0x54]
inc dword [esp + 0x54]
and ebx, dword [esp + 0x5c]
lea esi, [ebx + ebx*2]
mov dword [esp], esi
mov ecx, dword [esp]
lea ecx, [edx + ecx*4]
mov esi, dword [esp]
mov esi, dword [edx + esi*4]
mov dword [esp], esi
cmp esi, dword [ebp + 0xc]
mov esi, edx
mov edx, dword [esp + 0x24]
je 0x4888f7
jmp 0x4888b0
mov ebx, ecx
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
mov esi, edx
mov edx, ebx
sar eax, 4
lea edx, [edx + edx*2]
lea edx, [esi + edx*4]
cmp ecx, edx
je 0x48890c
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x488910
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 0
mov byte [esp + 0x98], 1
mov dword [esp + 0xa0], 0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
cmp dword [esi + 4], 0xb000000
sete cl
sub esp, 0x38
movups xmm0, xmmword [esp + 0xc0]
movups xmm1, xmmword [esp + 0xd0]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 1
lea ecx, [esp + 0x78]
mov edx, edi
call fcn.00488c00
add esp, 0x38
movzx ebx, byte [esp + 0x40]
mov eax, ebx
and al, 1
je 0x4889b2
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x4889b8
shr ebx, 1
lea edx, [esp + 0x41]
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
lea esi, [esp + 0xc]
test edx, edx
je 0x4889e8
cmp ebx, 0xfffffff8
jae 0x488aa5
cmp ebx, 0xb
jae 0x4889f8
mov eax, ebx
add al, bl
mov byte [esp + 0xc], al
lea edi, [esp + 0xd]
test ebx, ebx
jne 0x488a22
jmp 0x488a2d
xorps xmm0, xmm0
movsd qword [esi], xmm0
mov dword [esi + 8], 0
jmp 0x488a3c
mov edi, ebx
or edi, 7
lea eax, [edi + 1]
push eax
mov esi, edx
call sub.libc.dll_operator_new_unsigned_int_
mov edx, esi
lea esi, [esp + 0x10]
add esp, 4
mov dword [esp + 0x14], eax
add edi, 2
mov dword [esp + 0xc], edi
mov edi, eax
mov dword [esp + 0x10], ebx
push ebx
push edx
push edi
call sub.msvcrt.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
mov ecx, dword [esp + 8]
movzx eax, byte [esp + 0x40]
and al, 1
mov edx, dword [esp + 4]
and byte [edx + 0x10], 0xfe
mov dword [edx], ecx
movsd xmm0, qword [esi]
movsd qword [edx + 4], xmm0
mov ecx, dword [esi + 8]
mov dword [edx + 0xc], ecx
test al, al
je 0x488a65
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x34], 1
je 0x488a81
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x488a81
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
je 0x488a9d
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x488a9d
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00407790
int3