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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov dword [esp + 0x2c], edx
mov edi, ecx
lea ecx, [esp + 0x7c]
push dword [edi + 0x3c]
call fcn.0043a330
mov eax, dword [esp + 0x80]
test eax, eax
je 0x461819
mov esi, dword [esp + 0x7c]
mov ebp, esi
add ebp, 4
shl eax, 3
lea eax, [eax + eax*4]
mov dword [esp + 0xc], edi
jmp 0x461563
add ebp, 0x28
add esi, 0x28
mov eax, dword [esp + 0x30]
add eax, 0xffffffd8
je 0x461819
mov dword [esp + 0x30], eax
lea ebx, [ebp - 4]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x54], 0x43ad10
mov dword [esp + 0x68], 0x43b380
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], eax
lea ecx, [esp + 0x10]
call fcn.0043f200
test byte [esp + 8], 1
jne 0x4615f0
mov eax, dword [esp + 0x9c]
cmp dword [esp + 4], eax
jne 0x461550
cmp dword [esp + 0x9c], 0
je 0x46181b
push dword [esp + 0x9c]
push dword [esp + 0x30]
push dword [esp + 8]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x461550
jmp 0x46181b
mov edi, dword [edi + 0x3c]
lea ecx, [esp + 0x20]
push edi
call fcn.0043a330
mov eax, esi
sub eax, dword [esp + 0x20]
sar eax, 3
imul ebx, eax, 0xcccccccd
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
push dword [ebp]
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x44], 0x305
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], str._section_with_index
lea eax, [esp + 0x34]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x64], 0x802
lea edi, [esp + 0x70]
mov ecx, edi
lea ebx, [esp + 0x54]
push ebx
call fcn.00550b46
mov ecx, edi
push str.unable_to_read_the_name_of
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x48], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x48]
push 0x558038
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x20], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
xor eax, eax
test byte [esp + 8], 1
je 0x4616d1
mov eax, dword [esp]
mov dword [esp], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x14]
test al, 1
je 0x461700
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x461706
shr eax, 1
lea edx, [esp + 0x15]
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp + 0x34], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x64], 0x104
lea eax, [esp + 0x34]
mov dword [esp + 0x54], eax
mov ecx, edi
push ebx
call fcn.0053aad0
test byte [esp + 0x34], 1
jne 0x461790
test byte [esp + 0x14], 1
jne 0x4617a3
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x46176c
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x4617c0
test byte [esp + 0x48], 1
jne 0x4617d3
test byte [esp + 0x70], 1
jne 0x4617e6
test byte [esp + 8], 1
je 0x461550
jmp 0x4617fd
push dword [esp + 0x3c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
je 0x46175f
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x461767
jmp 0x46176c
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x48], 1
je 0x46177a
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x70], 1
je 0x461781
push dword [esp + 0x78]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 8], 1
je 0x461550
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x461550
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x461550
xor ebx, ebx
mov eax, ebx
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret