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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xfc
mov dword [esp + 0xb8], edx
mov dword [esp + 0x44], ecx
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 0x1c]
add edx, 0x1c
movzx esi, word [eax + 0x10]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x3c], edx
push edx
call fcn.004830e0
cmp esi, 0x400
je 0x49630e
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x49630e
mov ebp, dword [esp + 0xf0]
lea eax, [eax + eax*4]
lea edi, [eax*8]
add edi, ebp
mov dword [esp + 0xe4], edi
jmp 0x495bcb
add ebp, 0x28
cmp ebp, edi
je 0x496827
cmp dword [ebp + 4], 0x7000000
jne 0x495bc0
mov dword [esp + 0x98], 0x43a590
mov dword [esp + 0xe8], 0x43abc0
lea eax, [esp + 0x98]
mov dword [esp + 0xec], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0xf8]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
lea ecx, [esp + 0x10]
call fcn.00486dd0
test byte [esp + 8], 1
jne 0x495c40
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 + 0x2c], ecx
jmp 0x495c83
mov eax, dword [esp]
mov dword [esp], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
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 0x495c72
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x94]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], ecx
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov ecx, ebx
shl ebx, 8
movzx eax, al
or eax, ebx
mov dword [esp + 0x94], edi
mov dword [esp + 0x34], ecx
shld edi, ecx, 8
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
bswap edx
mov dword [esp + 0x4c], 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 dword [esp + 0x18], edx
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
call dword [esp + 0xd4]
add esp, 0x1c
test byte [esp + 8], 1
je 0x495d22
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x495d22
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 + 0x44]
call fcn.00496860
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov edi, dword [esp + 0x68]
test edi, edi
mov ebx, dword [esp + 0x34]
je 0x4960b6
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ebp, eax
neg ebp
lea ecx, [eax + 0xb]
mov dword [esp + 0x38], ecx
dec eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
nop word cs:[eax + eax]
mov dword [esp + 0x64], edi
push 0
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x120]
lea eax, [esp + 0x3c]
push eax
call dword [esp + 0x124]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x49600a
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 + 0x4c]
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.004830e0
mov edx, dword [esp + 0x40]
mov eax, edx
sub eax, dword [esp + 0x4c]
sar eax, 3
mov ecx, dword [ebx]
movzx ecx, word [ecx + 0x12]
rol cx, 8
imul ebx, eax, 0xcccccccd
movzx eax, cx
mov ecx, dword [edx + 4]
bswap ecx
push ecx
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 0x495ea0
test eax, eax
mov ebx, dword [esp + 0x34]
jne 0x495ec0
mov word [esp + 0x5c], 0x100
mov cl, 1
xor eax, eax
jmp 0x495f1f
lea edx, [esp + 0x88]
mov dword [esp + 0x4c], edx
mov word [esp + 0x5c], 0x104
mov al, 4
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
jmp 0x495f0d
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 + 0x4c], ecx
mov dword [esp + 0x50], edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x54], ecx
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], 4
mov al, 2
lea edx, [esp + 0x4c]
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 0x495fa7
cmp eax, 1
jne 0x495f70
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x495fa7
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 ebx, 2
cmovne eax, ebx
mov ebx, dword [esp + 0x34]
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 + 0x44]
mov eax, esp
push eax
call fcn.00539490
test byte [esp + 0xac], 1
je 0x495fd4
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x495fe4
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x88], 1
je 0x495ffd
push dword [esp + 0x90]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x49600a
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
bswap ecx
add ecx, dword [esp + 0x38]
and ecx, ebp
bswap eax
add eax, dword [esp + 0x2c]
and eax, ebp
add eax, ecx
sub esi, eax
je 0x4960aa
cmp esi, 0xb
jbe 0x496060
mov ecx, dword [edi + eax]
mov edx, dword [edi + eax + 4]
bswap ecx
add ecx, dword [esp + 0x38]
and ecx, ebp
bswap edx
add edx, dword [esp + 0x2c]
and edx, ebp
add edx, ecx
cmp edx, esi
ja 0x496060
add edi, eax
mov eax, dword [esp + 0x60]
mov dword [eax], 0
inc dword [esp + 0x48]
jmp 0x495d90
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 0x4960ac
xor edi, edi
mov eax, dword [esp + 0x60]
mov dword [eax], edi
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0xe4]
je 0x496278
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x3c]
push esi
call fcn.004830e0
mov eax, ebp
sub eax, dword [esp + 0x18]
sar eax, 3
mov ecx, dword [esi]
movzx ecx, word [ecx + 0x12]
rol cx, 8
imul esi, eax, 0xcccccccd
movzx eax, cx
mov ecx, dword [ebp + 4]
bswap ecx
push ecx
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 + 0x54], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x4c], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x4c]
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 0x4961dc
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
jmp 0x4961e5
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 + 0x44]
lea eax, [esp + 0x68]
push eax
call fcn.00539490
test byte [esp], 1
jne 0x49629f
test byte [esp + 0xd0], 1
jne 0x4962b5
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x496249
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x18], 1
jne 0x4962d8
test byte [esp + 0x4c], 1
jne 0x4962ef
test byte [esp + 0x98], 1
je 0x496278
push dword [esp + 0xa0]
call sub.libc.dll_operator_delete_void_
add esp, 4
push dword [esp + 0x120]
call dword [esp + 0x120]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x495bc0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x495bc0
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xd0], 1
je 0x496239
push dword [esp + 0xd8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc8]
test ecx, ecx
jne 0x496244
jmp 0x496249
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x4c], 1
je 0x49625f
push dword [esp + 0x54]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x98], 1
jne 0x496269
jmp 0x496278
lea ecx, [esp + 0x88]
push dword [esp + 0x3c]
call fcn.00485b10
test byte [esp + 0x90], 1
jne 0x496770
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x496802
xor edi, edi
movzx eax, si
mov dword [esp + 0x60], eax
mov dword [esp + 0x94], ebp
jmp 0x496359
inc edi
cmp edi, ebp
je 0x496802
mov eax, dword [esp + 0x88]
mov ecx, edi
shl ecx, 5
cmp dword [eax + ecx], 0x4000000
jne 0x496350
mov dword [esp + 0x40], edi
lea esi, [eax + ecx]
mov edx, dword [eax + ecx + 4]
mov edi, dword [eax + ecx + 0x10]
mov eax, dword [eax + ecx + 0x1c]
bswap eax
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
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 + 0x12c]
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 + 0x44]
call fcn.00496b30
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x496669
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov esi, eax
neg esi
lea ecx, [eax + 0xb]
mov dword [esp + 0x38], ecx
dec eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
lea edi, [esp + 0x64]
nop word cs:[eax + eax]
xor eax, eax
cmp dword [esp + 0x60], 0x400
sete al
mov dword [esp + 0x64], ebx
push eax
push edi
push dword [esp + 0x120]
lea eax, [esp + 0x3c]
push eax
call dword [esp + 0x124]
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4965b1
mov dword [esp + 0xd0], str.unable_to_read_note_with_index
mov ecx, dword [esp + 0x48]
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 + 0x4c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
mov word [esp + 0x5c], 0x902
lea ecx, [esp + 0x4c]
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 0x496567
cmp eax, 1
jne 0x496530
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x496567
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 + 0x44]
mov eax, esp
push eax
call fcn.00539490
test byte [esp + 0xac], 1
je 0x496594
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4965a4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4965b1
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
bswap ecx
add ecx, dword [esp + 0x38]
and ecx, esi
bswap eax
add eax, dword [esp + 0x2c]
and eax, esi
add eax, ecx
sub ebp, eax
je 0x49665a
cmp ebp, 0xb
jbe 0x496610
mov ecx, dword [ebx + eax]
mov edx, dword [ebx + eax + 4]
bswap ecx
add ecx, dword [esp + 0x38]
and ecx, esi
bswap edx
add edx, dword [esp + 0x2c]
and edx, esi
add edx, ecx
cmp edx, ebp
ja 0x496610
add ebx, eax
mov eax, dword [esp + 0x34]
mov dword [eax], 0
inc dword [esp + 0x48]
jmp 0x496440
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 0x49665c
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x14]
test eax, eax
mov edi, dword [esp + 0x40]
je 0x496749
mov dword [esp + 0x18], str.unable_to_read_notes_from_the_PT_NOTE_segment_with_index
mov dword [esp + 0x20], edi
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 + 0x50]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x10]
mov cl, 1
test eax, eax
je 0x496710
cmp eax, 1
jne 0x4966e2
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], eax
mov al, 4
jmp 0x496710
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 + 0x4c]
mov dword [esp + 0x70], ecx
mov cl, 4
mov byte [esp + 0x78], al
mov byte [esp + 0x79], cl
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x68]
push eax
call fcn.00539490
test byte [esp + 0x4c], 1
je 0x496739
push dword [esp + 0x54]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x496749
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x120]
call dword [esp + 0x120]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x496350
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x496350
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 + 0x44]
push eax
call fcn.00539490
test byte [esp], 1
jne 0x496832
test byte [esp + 0x18], 1
jne 0x496845
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x496802
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x90], 1
je 0x496827
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], 0
test ecx, ecx
je 0x496827
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0xfc
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 0x4967f2
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc4]
test ecx, ecx
jne 0x4967fd
jmp 0x496802