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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x100
mov dword [esp + 0xb8], edx
mov dword [esp + 0x3c], ecx
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 0x1c]
add edx, 0x1c
movzx esi, word [eax + 0x10]
lea ecx, [esp + 0xf4]
mov dword [esp + 0x38], edx
push edx
call fcn.00439bf0
mov word [esp + 0x44], si
cmp si, 4
je 0x454df9
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x454df9
mov ebp, dword [esp + 0xf4]
lea eax, [eax + eax*4]
lea eax, [eax*8]
add eax, ebp
mov dword [esp + 0xe4], eax
jmp 0x4546c2
mov eax, dword [esp + 0xe4]
add ebp, 0x28
cmp ebp, eax
je 0x4552f7
cmp dword [ebp + 4], 7
jne 0x4546b7
mov dword [esp + 0x98], 0x43a590
mov dword [esp + 0xec], 0x43abc0
lea eax, [esp + 0x98]
mov dword [esp + 0xf0], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x48]
mov dword [esp], eax
lea ecx, [esp + 0x10]
call fcn.0043eb30
test byte [esp + 8], 1
jne 0x454740
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, ecx
shr edx, 8
shld ecx, eax, 0x18
mov bl, 1
mov dword [esp + 0x2c], ebx
jmp 0x45478a
mov eax, dword [esp]
mov dword [esp], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00407790
add esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x454772
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xe8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x34], ebx
mov ebx, ecx
shl ebx, 8
movzx eax, al
or eax, ebx
mov dword [esp + 0xe8], edx
mov dword [esp + 0x94], ecx
shld edx, ecx, 8
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], al
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], esi
sub esp, 0x1c
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
movsd xmm0, qword [esp + 0x84]
movsd qword [esp + 4], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call dword [esp + 0xd4]
add esp, 0x1c
test byte [esp + 8], 1
je 0x45482a
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x45482a
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x68]
lea eax, [esp + 0x14]
push eax
push ebp
push dword [esp + 0x40]
call fcn.00455330
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov edi, dword [esp + 0x68]
test edi, edi
je 0x454bb2
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, eax
neg ecx
mov dword [esp + 0x34], ecx
lea ecx, [eax + 0xb]
mov dword [esp + 0x4c], ecx
dec eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
nop word [eax + eax]
mov dword [esp + 0x64], edi
push 0
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x124]
lea eax, [esp + 0x3c]
push eax
call dword [esp + 0x128]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x454b0a
mov dword [esp + 0x44], edi
mov dword [esp + 0xd0], str.unable_to_read_note_with_index
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd8], eax
mov word [esp + 0xe0], 0x903
lea eax, [esp + 0xd0]
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], str._from_the
mov word [esp + 0xa8], 0x302
lea ecx, [esp + 0x50]
mov edi, ebp
mov ebp, dword [esp + 0x38]
push ebp
call fcn.00439bf0
mov eax, edi
sub eax, dword [esp + 0x50]
sar eax, 3
imul ebx, eax, 0xcccccccd
mov eax, dword [ebp]
mov ebp, edi
movzx eax, word [eax + 0x12]
push dword [edi + 4]
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x28], 0x305
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], str._section_with_index
lea eax, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov ebx, esp
mov word [esp + 0x10], 0x902
lea ecx, [esp + 0x88]
push ebx
call fcn.0054a73e
movzx eax, byte [esp + 0xa8]
cmp eax, 1
je 0x4549a0
test eax, eax
mov edi, dword [esp + 0x44]
jne 0x4549c0
mov word [esp + 0x60], 0x100
mov cl, 1
xor eax, eax
jmp 0x454a1f
lea edx, [esp + 0x88]
mov dword [esp + 0x50], edx
mov word [esp + 0x60], 0x104
mov al, 4
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
jmp 0x454a0d
cmp byte [esp + 0xa9], 1
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x98]
cmovne ecx, edx
movzx eax, al
mov edx, 2
cmovne eax, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], ecx
mov byte [esp + 0x60], al
mov byte [esp + 0x61], 4
mov al, 2
lea edx, [esp + 0x50]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x551440
mov cl, 3
mov byte [esp + 0x28], al
mov byte [esp + 0x29], cl
mov eax, dword [esp + 0x30]
mov dword [esp + 0xcc], eax
mov dword [esp + 0x30], 0
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x28]
mov cl, 1
test eax, eax
je 0x454aa7
cmp eax, 1
jne 0x454a70
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x454aa7
cmp byte [esp + 0x29], 1
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
cmovne ecx, edx
mov edx, dword [esp + 0x1c]
movzx eax, al
mov edi, 2
cmovne eax, edi
mov edi, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0xac]
mov dword [esp + 8], ecx
mov cl, 4
mov byte [esp + 0x10], al
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x3c]
mov eax, esp
push eax
call fcn.00539490
test byte [esp + 0xac], 1
je 0x454ad4
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x454ae4
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x88], 1
je 0x454afd
push dword [esp + 0x90]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x454b0a
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
add ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
and ecx, edx
mov eax, dword [edi + 4]
add eax, dword [esp + 0x2c]
and eax, edx
add eax, ecx
sub esi, eax
je 0x454baa
cmp esi, 0xb
jbe 0x454b60
mov ecx, dword [edi + eax]
add ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
and ecx, ebx
mov edx, dword [edi + eax + 4]
add edx, dword [esp + 0x2c]
and edx, ebx
add edx, ecx
cmp edx, esi
ja 0x454b60
add edi, eax
mov eax, dword [esp + 0x40]
mov dword [eax], 0
inc dword [esp + 0x48]
jmp 0x454890
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov dword [esp], str.ELF_note_overflows_container
mov word [esp + 0x10], 0x103
call fcn.0054a58e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xc]
mov dword [esp], eax
mov ecx, edi
call fcn.0054a3a8
jmp 0x454bac
xor edi, edi
mov eax, dword [esp + 0x40]
mov dword [eax], edi
cmp dword [esp + 0x14], 0
je 0x454d63
lea ecx, [esp + 0x18]
mov edi, dword [esp + 0x38]
push edi
call fcn.00439bf0
mov eax, ebp
sub eax, dword [esp + 0x18]
sar eax, 3
imul esi, eax, 0xcccccccd
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
push dword [ebp + 4]
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov eax, esp
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], esi
mov word [esp + 0x78], 0x902
lea esi, [esp + 0x98]
mov ecx, esi
lea eax, [esp + 0x68]
push eax
call fcn.0054a73e
mov ecx, esi
push str.unable_to_read_notes_from_the
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x50], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x50]
push 0x551440
call fcn.0054ab40
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0xd0]
test al, 1
je 0x454cc7
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
jmp 0x454cd0
shr eax, 1
lea edx, [esp + 0xd1]
lea ecx, [esp + 0x18]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x78], 0x104
mov eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x68]
push eax
call fcn.00539490
test byte [esp], 1
jne 0x454d8a
test byte [esp + 0xd0], 1
jne 0x454da0
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x454d34
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x18], 1
jne 0x454dc3
test byte [esp + 0x50], 1
jne 0x454dda
test byte [esp + 0x98], 1
je 0x454d63
push dword [esp + 0xa0]
call sub.libc.dll_operator_delete_void_
add esp, 4
push dword [esp + 0x124]
call dword [esp + 0x124]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4546b0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4546b0
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xd0], 1
je 0x454d24
push dword [esp + 0xd8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc8]
test ecx, ecx
jne 0x454d2f
jmp 0x454d34
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x454d4a
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x98], 1
jne 0x454d54
jmp 0x454d63
lea ecx, [esp + 0x88]
push dword [esp + 0x38]
call fcn.0043c770
test byte [esp + 0x90], 1
jne 0x455240
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x4552d2
xor esi, esi
mov dword [esp + 0x94], ebp
jmp 0x454e49
inc esi
cmp esi, ebp
je 0x4552d2
mov eax, dword [esp + 0x88]
mov ecx, esi
shl ecx, 5
cmp dword [eax + ecx], 4
jne 0x454e40
mov dword [esp + 0x40], esi
lea esi, [eax + ecx]
mov edx, dword [eax + ecx + 4]
mov edi, dword [eax + ecx + 0x10]
mov eax, dword [eax + ecx + 0x1c]
mov byte [esp + 0x68], 0
mov byte [esp + 0x70], 0
mov dword [esp], edx
mov dword [esp + 0x18], edi
sub esp, 0x1c
mov dword [esp + 0x14], edi
lea edi, [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 0x84]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call dword [esp + 0xd4]
add esp, 0x1c
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x68]
lea eax, [esp + 0x14]
push eax
push esi
push dword [esp + 0x40]
call fcn.00455620
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x455139
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov esi, eax
neg esi
lea ecx, [eax + 0xb]
mov dword [esp + 0x34], ecx
dec eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], 0
xor eax, eax
cmp word [esp + 0x44], 4
sete al
mov dword [esp + 0x64], ebx
push eax
push edi
push dword [esp + 0x124]
lea eax, [esp + 0x3c]
push eax
call dword [esp + 0x128]
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x455091
mov dword [esp + 0xd0], str.unable_to_read_note_with_index
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xd8], ecx
mov word [esp + 0xe0], 0x903
lea ecx, [esp + 0xd0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], str._from_the_PT_NOTE_segment_with_index
mov word [esp + 0xa8], 0x302
lea ecx, [esp + 0x98]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
mov word [esp + 0x60], 0x902
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0x551440
mov word [esp + 0x28], 0x302
mov dword [esp + 0xc0], eax
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x28]
mov cl, 1
test eax, eax
je 0x455047
cmp eax, 1
jne 0x455010
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x455047
cmp byte [esp + 0x29], 1
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
cmovne ecx, edx
mov edx, dword [esp + 0x1c]
movzx eax, al
mov edi, 2
cmovne eax, edi
lea edi, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0xac]
mov dword [esp + 8], ecx
mov cl, 4
mov byte [esp + 0x10], al
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x3c]
mov eax, esp
push eax
call fcn.00539490
test byte [esp + 0xac], 1
je 0x455074
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x455084
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x455091
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
add ecx, dword [esp + 0x34]
and ecx, esi
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x2c]
and eax, esi
add eax, ecx
sub ebp, eax
je 0x45512a
cmp ebp, 0xb
jbe 0x4550e0
mov ecx, dword [ebx + eax]
add ecx, dword [esp + 0x34]
and ecx, esi
mov edx, dword [ebx + eax + 4]
add edx, dword [esp + 0x2c]
and edx, esi
add edx, ecx
cmp edx, ebp
ja 0x4550e0
add ebx, eax
mov eax, dword [esp + 0x48]
mov dword [eax], 0
inc dword [esp + 0x4c]
jmp 0x454f20
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp], str.ELF_note_overflows_container
mov word [esp + 0x10], 0x103
call fcn.0054a58e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xc]
mov dword [esp], eax
mov ecx, ebx
call fcn.0054a3a8
jmp 0x45512c
xor ebx, ebx
mov eax, dword [esp + 0x48]
mov dword [eax], ebx
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [esp + 0x40]
je 0x455219
mov dword [esp + 0x18], str.unable_to_read_notes_from_the_PT_NOTE_segment_with_index
mov dword [esp + 0x20], esi
mov word [esp + 0x28], 0x903
lea ecx, [esp + 0x18]
mov dword [esp], ecx
mov dword [esp + 8], 0x551440
mov word [esp + 0x10], 0x302
mov dword [esp + 0xbc], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x10]
mov cl, 1
test eax, eax
je 0x4551e0
cmp eax, 1
jne 0x4551b2
lea eax, [esp + 0x50]
mov dword [esp + 0x68], eax
mov al, 4
jmp 0x4551e0
cmp byte [esp + 0x11], 1
mov ecx, dword [esp]
mov edx, esp
cmovne ecx, edx
mov edx, dword [esp + 4]
movzx eax, al
mov edi, 2
cmovne eax, edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], ecx
mov cl, 4
mov byte [esp + 0x78], al
mov byte [esp + 0x79], cl
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x68]
push eax
call fcn.00539490
test byte [esp + 0x50], 1
je 0x455209
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x455219
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x124]
call dword [esp + 0x124]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x454e40
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x454e40
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xc4]
lea edi, [esp + 0x18]
push eax
push edi
call fcn.0054a6b4
add esp, 8
mov ecx, edi
push str.unable_to_read_program_headers_to_locate_the_PT_NOTE_segment:
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x78], 0x104
mov eax, esp
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00539490
test byte [esp], 1
jne 0x455302
test byte [esp + 0x18], 1
jne 0x455315
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x4552d2
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x90], 1
je 0x4552f7
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], 0
test ecx, ecx
je 0x4552f7
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0x100
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x18], 1
je 0x4552c2
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc4]
test ecx, ecx
jne 0x4552cd
jmp 0x4552d2