Function at 0x489d70
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 0x489e93
mov edi, edx
mov dword [esp], ecx
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push esi
push dword [edx + 0x3c]
call fcn.0048a2b0
test byte [esp + 0x20], 1
jne 0x489eaf
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48a048
mov dword [esp + 0x28], eax
mov ebx, dword [edi + 0x3c]
lea ecx, [esp + 8]
push ebx
call fcn.004849a0
test byte [esp + 0x10], 1
jne 0x48a067
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.00484e30
test byte [esp + 0x10], 1
je 0x489e24
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
je 0x489e24
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x34], 1
jne 0x48a07f
lea ecx, [esp + 0x68]
push 0
mov ebx, dword [ebp + 0xc]
push ebx
push dword [edi + 0x3c]
call fcn.0048a2b0
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x68]
mov edx, dword [edi + 0x22c]
mov ecx, dword [edi + 0x238]
test ecx, ecx
je 0x48a0eb
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 0x48a099
lea ecx, [edx + ecx*4]
mov esi, edx
mov edx, dword [esp + 0x24]
jmp 0x48a0f7
and byte [ecx + 0x10], 0xfe
mov dword [ecx], 0
mov word [ecx + 4], 0
mov dword [ecx + 0xc], 0
jmp 0x48a2a0
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], 0x803
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.004849a0
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.005509d8
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], 0x802
lea esi, [esp + 8]
lea ebx, [esp + 0x7c]
mov ecx, ebx
push esi
call fcn.00550b46
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], 0x558038
mov word [esp + 0x3c], 0x302
xor eax, eax
test byte [esp + 0x20], 1
je 0x489fa5
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.00550abc
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.00550996
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.005507bc
mov eax, dword [esp]
or byte [eax + 0x10], 1
mov dword [eax], edi
test byte [esp + 0x70], 1
je 0x48a01c
push dword [esp + 0x78]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x48a029
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x7c], 1
je 0x48a284
push dword [esp + 0x84]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x48a284
mov eax, dword [esp]
and byte [eax + 0x10], 0xfe
mov dword [eax], 0
mov word [eax + 4], 0
mov dword [eax + 0xc], 0
jmp 0x48a284
mov eax, dword [esp + 8]
or byte [esp + 0x34], 1
mov dword [esp + 0x2c], eax
test byte [esp + 0x34], 1
je 0x489e2f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov ecx, dword [esp]
or byte [ecx + 0x10], 1
mov dword [ecx], eax
jmp 0x48a26f
mov dword [esp + 4], esi
mov dword [esp + 0x54], 1
mov esi, edx
mov edx, dword [esp + 0x24]
cmp dword [esp + 4], 0xfffff000
mov ecx, edx
mov edx, esi
je 0x48a0eb
add ebx, dword [esp + 0x54]
inc dword [esp + 0x54]
and ebx, dword [esp + 0x5c]
lea esi, [ebx + ebx*2]
mov dword [esp + 4], esi
mov ecx, dword [esp + 4]
lea ecx, [edx + ecx*4]
mov esi, dword [esp + 4]
mov esi, dword [edx + esi*4]
mov dword [esp + 4], esi
cmp esi, dword [ebp + 0xc]
mov esi, edx
mov edx, dword [esp + 0x24]
je 0x48a0f7
jmp 0x48a0ab
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 0x48a10c
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x48a110
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.0048a400
add esp, 0x38
movzx ebx, byte [esp + 0x40]
test bl, 1
je 0x48a1b1
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x48a1b7
shr ebx, 1
lea edx, [esp + 0x41]
mov ecx, dword [esp]
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
lea esi, [esp + 0xc]
test edx, edx
je 0x48a1ea
cmp ebx, 0xfffffff0
jae 0x48a2a8
cmp ebx, 0xb
jae 0x48a200
mov eax, ebx
add al, bl
mov byte [esp + 0xc], al
lea edi, [esp + 0xd]
test ebx, ebx
jne 0x48a22a
jmp 0x48a235
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
jmp 0x48a240
mov edi, ebx
or edi, 0xf
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 eax, dword [esp + 8]
mov ecx, dword [esp]
and byte [ecx + 0x10], 0xfe
mov dword [ecx], eax
movsd xmm0, qword [esi]
movsd qword [ecx + 4], xmm0
mov eax, dword [esi + 8]
mov dword [ecx + 0xc], eax
test byte [esp + 0x40], 1
je 0x48a268
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x34], 1
je 0x48a284
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x48a284
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
je 0x48a2a0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x48a2a0
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