Function at 0x4c9320
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 0x4c9446
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.004c9860
test byte [esp + 0x20], 1
jne 0x4c9462
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c95ef
mov dword [esp + 0x28], eax
mov ebx, dword [edi + 0x3c]
lea ecx, [esp + 8]
push ebx
call fcn.004c37b0
test byte [esp + 0x10], 1
jne 0x4c960e
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.004c3da0
test byte [esp + 0x10], 1
je 0x4c93d4
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
je 0x4c93d4
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x34], 1
jne 0x4c9626
lea ecx, [esp + 0x68]
push 0
mov ebx, dword [ebp + 0xc]
push ebx
push dword [edi + 0x3c]
call fcn.004c9860
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x68]
sar eax, 3
mov edx, dword [edi + 0x22c]
mov ecx, dword [edi + 0x238]
test ecx, ecx
je 0x4c9692
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 0x4c9640
lea ecx, [edx + ecx*4]
mov esi, edx
mov edx, dword [esp + 0x24]
jmp 0x4c969e
and byte [ecx + 0x10], 0xfe
mov dword [ecx], 0
mov word [ecx + 4], 0
mov dword [ecx + 0xc], 0
jmp 0x4c9847
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.004c37b0
mov ebx, esi
sub ebx, dword [esp + 0x40]
sar ebx, 6
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
push dword [esi + 4]
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 eax, [esp + 0x2c]
mov dword [esp + 8], eax
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 0x4c9548
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
lea edi, [esp + 0x70]
push eax
push edi
call fcn.00550abc
add esp, 8
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0x10], edi
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 0x4c95c3
push dword [esp + 0x78]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4c95d0
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x7c], 1
je 0x4c982b
push dword [esp + 0x84]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4c982b
mov eax, dword [esp]
and byte [eax + 0x10], 0xfe
mov dword [eax], 0
mov word [eax + 4], 0
mov dword [eax + 0xc], 0
jmp 0x4c982b
mov eax, dword [esp + 8]
or byte [esp + 0x34], 1
mov dword [esp + 0x2c], eax
test byte [esp + 0x34], 1
je 0x4c93df
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov ecx, dword [esp]
or byte [ecx + 0x10], 1
mov dword [ecx], eax
jmp 0x4c9816
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 0x4c9692
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 0x4c969e
jmp 0x4c9652
mov ebx, ecx
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
mov esi, edx
mov edx, ebx
imul eax, eax, 0xaaaaaaab
lea edx, [edx + edx*2]
lea edx, [esi + edx*4]
cmp ecx, edx
je 0x4c96b6
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x4c96ba
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], 0xb
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.004c99b0
add esp, 0x38
movzx ebx, byte [esp + 0x40]
test bl, 1
je 0x4c9758
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x4c975e
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 0x4c9791
cmp ebx, 0xfffffff0
jae 0x4c984f
cmp ebx, 0xb
jae 0x4c97a7
mov eax, ebx
add al, bl
mov byte [esp + 0xc], al
lea edi, [esp + 0xd]
test ebx, ebx
jne 0x4c97d1
jmp 0x4c97dc
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
jmp 0x4c97e7
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 0x4c980f
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x34], 1
je 0x4c982b
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x4c982b
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
je 0x4c9847
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x4c9847
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