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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov edi, edx
mov esi, ecx
mov ebp, dword [esp + 0x98]
lea ecx, [esp + 8]
push ebp
push edx
call fcn.00445d00
test byte [esp + 0x10], 1
jne 0x45467d
mov edx, dword [esp + 8]
lea ecx, [esp + 0x54]
push dword [esp + 0xc]
call fcn.00454cc0
add esp, 4
movzx ebx, byte [esp + 0x60]
test bl, 1
jne 0x454694
and byte [esi + 0xc], 0xfe
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esp], esi
mov dword [esi + 8], 0
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov ebp, esi
sub ebp, edi
sub esi, edi
je 0x454666
js 0x4548cf
sar ebp, 3
push esi
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, dword [esp]
mov dword [ecx], eax
lea ebp, [eax + ebp*8]
mov dword [ecx + 8], ebp
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
mov dword [eax + 4], ebp
test bl, 1
jne 0x45489d
test edi, edi
je 0x4548a8
push edi
jmp 0x454893
mov eax, dword [esp + 8]
mov dword [esp + 8], 0
or byte [esi + 0xc], 1
mov dword [esi], eax
jmp 0x4548af
mov ebx, esi
lea ecx, [esp + 0x20]
push edi
call fcn.0043a330
mov eax, ebp
sub eax, dword [esp + 0x20]
sar eax, 3
imul esi, eax, 0xcccccccd
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
push dword [ebp + 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 ebp, [esp + 0x2c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esi
mov word [esp + 0x74], 0x802
lea esi, [esp + 0x64]
lea edi, [esp + 0x78]
mov ecx, edi
push esi
call fcn.00550b46
mov ecx, edi
push str.unable_to_decode
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x40], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x40]
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
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x14]
test al, 1
je 0x45478e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x454794
shr eax, 1
lea edx, [esp + 0x15]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp + 0x2c], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x74], 0x104
mov dword [esp + 0x64], ebp
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
call fcn.00550996
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
mov ecx, edi
call fcn.005507bc
or byte [ebx + 0xc], 1
mov dword [ebx], edi
test byte [esp + 0x2c], 1
jne 0x45483d
test byte [esp + 0x14], 1
jne 0x454850
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x454826
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x454866
test byte [esp + 0x40], 1
jne 0x454879
test byte [esp + 0x78], 1
jne 0x45488c
jmp 0x4548a8
push dword [esp + 0x34]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
je 0x454819
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x454821
jmp 0x454826
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x40], 1
je 0x454834
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x4548a8
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4548a8
test edi, edi
je 0x4548a8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x4548c4
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
je 0x4548c4
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp]
call fcn.004550d0
int3