Function at 0x515850
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 ebp, dword [ecx + 0x38]
mov eax, dword [ebp + 0x1c]
add ebp, 0x1c
movzx esi, word [eax + 0x10]
lea ecx, [esp + 0xf4]
push ebp
call fcn.00502220
cmp esi, 0x400
mov dword [esp + 0x5c], ebp
je 0x51604f
mov edi, dword [esp + 0xf8]
test edi, edi
je 0x51604f
mov esi, dword [esp + 0xf4]
shl edi, 6
add edi, esi
mov dword [esp + 0xe4], edi
jmp 0x5158cb
add esi, 0x40
cmp esi, edi
je 0x51657a
cmp dword [esi + 4], 0x7000000
jne 0x5158c0
mov dword [esp + 0x98], 0x43ad10
mov dword [esp + 0xec], 0x43b380
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], esi
mov dword [esp], ebp
lea ecx, [esp + 0x10]
call fcn.00506570
test byte [esp + 8], 1
jne 0x515940
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov edi, ebx
shr edi, 8
shld ebx, eax, 0x18
mov cl, 1
mov dword [esp + 0x30], ecx
jmp 0x51598a
mov eax, dword [esp]
mov dword [esp], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004077c0
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x515972
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0xe8]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
movsd xmm0, qword [esi + 0x20]
mov dword [esp + 0xe8], edi
shld edi, ebx, 8
mov dword [esp + 0x94], ebx
shl ebx, 8
movzx ebp, al
or ebp, ebx
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0x34]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x70], bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
bswap eax
movsd qword [esp + 0x48], xmm0
sub esp, 0x24
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call dword [esp + 0xdc]
add esp, 0x24
test byte [esp + 8], 1
je 0x515a3d
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x515a3d
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x68]
lea eax, [esp + 0x28]
push eax
mov esi, dword [esp + 0x30]
push esi
mov ebp, dword [esp + 0x64]
push ebp
call fcn.005165c0
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov edi, dword [esp + 0x68]
test edi, edi
je 0x515dea
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
lea eax, [ebp + 0xb]
mov dword [esp + 0x30], eax
mov eax, ebp
neg eax
mov dword [esp + 0x44], eax
dec ebp
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], ebp
nop
mov dword [esp + 0x64], edi
push 0
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x124]
lea eax, [esp + 0x40]
push eax
call dword [esp + 0x128]
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x515d2a
mov dword [esp + 0xd0], str.unable_to_read_note_with_index
mov eax, dword [esp + 0x40]
mov dword [esp + 0xd8], eax
mov word [esp + 0xe0], 0x803
lea eax, [esp + 0xd0]
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], str._from_the
mov word [esp + 0xa8], 0x302
lea ecx, [esp + 0x48]
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.00502220
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
sub ebx, dword [esp + 0x48]
mov eax, dword [ebp]
movzx eax, word [eax + 0x12]
rol ax, 8
sar ebx, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x24], 0x305
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], str._section_with_index
lea eax, [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov ebx, esp
mov word [esp + 0x10], 0x802
lea ecx, [esp + 0x88]
push ebx
call fcn.00550b46
movzx eax, byte [esp + 0xa8]
cmp eax, 1
je 0x515bb0
test eax, eax
jne 0x515bd0
mov word [esp + 0x58], 0x100
mov cl, 1
xor eax, eax
mov ebp, dword [esp + 0x38]
jmp 0x515c33
lea edx, [esp + 0x88]
mov dword [esp + 0x48], edx
mov word [esp + 0x58], 0x104
mov al, 4
mov ecx, dword [esp + 0x4c]
jmp 0x515c1d
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 + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x50], ecx
mov byte [esp + 0x58], al
mov byte [esp + 0x59], 4
mov al, 2
lea edx, [esp + 0x48]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x558038
mov cl, 3
mov byte [esp + 0x24], al
mov byte [esp + 0x25], cl
mov eax, dword [esp + 0x34]
mov dword [esp + 0xcc], eax
mov dword [esp + 0x34], 0
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x24]
mov cl, 1
test eax, eax
je 0x515cc7
cmp eax, 1
jne 0x515c90
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x515cc7
cmp byte [esp + 0x25], 1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
cmovne ecx, edx
mov edx, dword [esp + 0x18]
movzx eax, al
mov ebp, 2
cmovne eax, ebp
mov ebp, dword [esp + 0x38]
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.0053aad0
test byte [esp + 0xac], 1
je 0x515cf4
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x515d04
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x88], 1
je 0x515d1d
push dword [esp + 0x90]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x515d2a
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
bswap ecx
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
and ecx, edx
bswap eax
add eax, ebp
and eax, edx
add eax, ecx
sub esi, eax
je 0x515dda
cmp esi, 0xb
jbe 0x515d90
mov ecx, dword [edi + eax]
mov edx, dword [edi + eax + 4]
bswap ecx
add ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
and ecx, ebx
bswap edx
add edx, ebp
and edx, ebx
add edx, ecx
cmp edx, esi
ja 0x515d90
add edi, eax
mov eax, dword [esp + 0x60]
mov dword [eax], 0
inc dword [esp + 0x40]
jmp 0x515aa0
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.00550996
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xc]
mov dword [esp], eax
mov ecx, edi
call fcn.005507bc
jmp 0x515ddc
xor edi, edi
mov eax, dword [esp + 0x60]
mov dword [eax], edi
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0xe4]
je 0x515fb9
lea ecx, [esp + 0x14]
push ebp
call fcn.00502220
mov ecx, esi
sub esi, dword [esp + 0x14]
mov eax, dword [ebp]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
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], 0x802
lea esi, [esp + 0x98]
mov ecx, esi
lea eax, [esp + 0x68]
push eax
call fcn.00550b46
mov ecx, esi
push str.unable_to_read_notes_from_the
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 + 0x14], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0xd0]
test al, 1
je 0x515f13
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
jmp 0x515f1c
shr eax, 1
lea edx, [esp + 0xd1]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 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.0053aad0
test byte [esp], 1
jne 0x515fe0
test byte [esp + 0xd0], 1
jne 0x515ff6
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x515f8a
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x14], 1
jne 0x516019
test byte [esp + 0x48], 1
jne 0x516030
test byte [esp + 0x98], 1
je 0x515fb9
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 + 0x28]
test ecx, ecx
je 0x5158c0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x5158c0
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xd0], 1
je 0x515f7a
push dword [esp + 0xd8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc8]
test ecx, ecx
jne 0x515f85
jmp 0x515f8a
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x48], 1
je 0x515fa0
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x98], 1
jne 0x515faa
jmp 0x515fb9
lea ecx, [esp + 0x88]
push ebp
call fcn.00504ed0
test byte [esp + 0x90], 1
jne 0x5164bd
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x516555
xor edi, edi
movzx eax, si
mov dword [esp + 0x60], eax
mov dword [esp + 0x94], edx
jmp 0x5160a0
mov edx, dword [esp + 0x94]
inc edi
cmp edi, edx
je 0x516555
mov eax, dword [esp + 0x88]
imul ecx, edi, 0x38
cmp dword [eax + ecx], 0x4000000
jne 0x516097
mov dword [esp + 0x38], edi
lea esi, [eax + ecx]
mov edx, dword [eax + ecx + 8]
mov edi, dword [eax + ecx + 0xc]
movsd xmm0, qword [eax + ecx + 0x20]
mov eax, dword [eax + ecx + 0x34]
bswap eax
mov byte [esp + 0x68], 0
mov byte [esp + 0x70], 0
mov dword [esp + 4], edi
mov dword [esp], edx
movsd qword [esp + 0x14], xmm0
sub esp, 0x24
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x138]
mov dword [esp], eax
call dword [esp + 0xdc]
add esp, 0x24
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x68]
lea eax, [esp + 0x28]
push eax
push esi
push ebp
call fcn.00516910
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x5163b6
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0xb]
mov dword [esp + 0x44], ecx
mov esi, eax
neg esi
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], 0
lea edi, [esp + 0x64]
nop dword [eax]
xor eax, eax
cmp dword [esp + 0x60], 0x400
sete al
mov dword [esp + 0x64], ebx
push eax
push edi
push dword [esp + 0x124]
lea eax, [esp + 0x40]
push eax
call dword [esp + 0x128]
add esp, 0x10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x516301
mov dword [esp + 0xd0], str.unable_to_read_note_with_index
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xd8], ecx
mov word [esp + 0xe0], 0x803
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 + 0x48], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov word [esp + 0x58], 0x802
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0x558038
mov word [esp + 0x24], 0x302
mov dword [esp + 0xc0], eax
mov dword [esp + 0x34], 0
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x24]
mov cl, 1
test eax, eax
je 0x5162b7
cmp eax, 1
jne 0x516280
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x5162b7
cmp byte [esp + 0x25], 1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
cmovne ecx, edx
mov edx, dword [esp + 0x18]
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.0053aad0
test byte [esp + 0xac], 1
je 0x5162e4
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x5162f4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x516301
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
bswap ecx
add ecx, dword [esp + 0x44]
and ecx, esi
bswap eax
add eax, dword [esp + 0x30]
and eax, esi
add eax, ecx
sub ebp, eax
je 0x5163aa
cmp ebp, 0xb
jbe 0x516360
mov ecx, dword [ebx + eax]
mov edx, dword [ebx + eax + 4]
bswap ecx
add ecx, dword [esp + 0x44]
and ecx, esi
bswap edx
add edx, dword [esp + 0x30]
and edx, esi
add edx, ecx
cmp edx, ebp
ja 0x516360
add ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
inc dword [esp + 0x40]
jmp 0x516190
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.00550996
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xc]
mov dword [esp], eax
mov ecx, ebx
call fcn.005507bc
jmp 0x5163ac
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
test eax, eax
mov edi, dword [esp + 0x38]
je 0x516496
mov dword [esp + 0x14], str.unable_to_read_notes_from_the_PT_NOTE_segment_with_index
mov dword [esp + 0x1c], edi
mov word [esp + 0x24], 0x803
lea ecx, [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 8], 0x558038
mov word [esp + 0x10], 0x302
mov dword [esp + 0xbc], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x10]
mov cl, 1
test eax, eax
je 0x51645d
cmp eax, 1
jne 0x51642f
lea eax, [esp + 0x48]
mov dword [esp + 0x68], eax
mov al, 4
jmp 0x51645d
cmp byte [esp + 0x11], 1
mov ecx, dword [esp]
mov edx, esp
cmovne ecx, edx
mov edx, dword [esp + 4]
movzx eax, al
mov esi, 2
cmovne eax, esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0x48]
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.0053aad0
test byte [esp + 0x48], 1
je 0x516486
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x516496
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x124]
call dword [esp + 0x124]
add esp, 4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x516090
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x516090
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xc4]
lea edi, [esp + 0x14]
push eax
push edi
call fcn.00550abc
add esp, 8
mov ecx, edi
push str.unable_to_read_program_headers_to_locate_the_PT_NOTE_segment:
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 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.0053aad0
test byte [esp], 1
jne 0x516585
test byte [esp + 0x14], 1
jne 0x516598
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x516555
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x90], 1
je 0x51657a
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], 0
test ecx, ecx
je 0x51657a
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 + 0x14], 1
je 0x516545
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc4]
test ecx, ecx
jne 0x516550
jmp 0x516555