Function at 0x495b90
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.00483120
cmp esi, 0x400
je 0x49634e
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x49634e
mov ebp, dword [esp + 0xf0]
lea eax, [eax + eax*4]
lea edi, [eax*8]
add edi, ebp
mov dword [esp + 0xe4], edi
jmp 0x495c0b
add ebp, 0x28
cmp ebp, edi
je 0x496867
cmp dword [ebp + 4], 0x7000000
jne 0x495c00
mov dword [esp + 0x98], 0x43a5a0
mov dword [esp + 0xe8], 0x43abd0
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.00486e10
test byte [esp + 8], 1
jne 0x495c80
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 0x495cc3
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.004077c0
add esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x495cb2
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 0x495d62
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x495d62
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.004968a0
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 0x4960f6
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 0x49604a
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.00483120
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.0054f434
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.0054f5a2
movzx eax, byte [esp + 0xa8]
cmp eax, 1
je 0x495ee0
test eax, eax
mov ebx, dword [esp + 0x34]
jne 0x495f00
mov word [esp + 0x5c], 0x100
mov cl, 1
xor eax, eax
jmp 0x495f5f
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 0x495f4d
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], 0x556440
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.0054f518
add esp, 8
movzx eax, byte [esp + 0x28]
mov cl, 1
test eax, eax
je 0x495fe7
cmp eax, 1
jne 0x495fb0
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x495fe7
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.005394d0
test byte [esp + 0xac], 1
je 0x496014
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x496024
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x88], 1
je 0x49603d
push dword [esp + 0x90]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x49604a
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 0x4960ea
cmp esi, 0xb
jbe 0x4960a0
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 0x4960a0
add edi, eax
mov eax, dword [esp + 0x60]
mov dword [eax], 0
inc dword [esp + 0x48]
jmp 0x495dd0
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.0054f3f2
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.0054f20c
jmp 0x4960ec
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 0x4962b8
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x3c]
push esi
call fcn.00483120
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.0054f434
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.0054f5a2
mov ecx, esi
push str.unable_to_read_notes_from_the
push 0
call fcn.0054f9b6
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 0x556440
call fcn.0054f9a4
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.0054f518
add esp, 8
movzx eax, byte [esp + 0xd0]
test al, 1
je 0x49621c
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
jmp 0x496225
shr eax, 1
lea edx, [esp + 0xd1]
lea ecx, [esp + 0x18]
push eax
push edx
call fcn.0054f9aa
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.005394d0
test byte [esp], 1
jne 0x4962df
test byte [esp + 0xd0], 1
jne 0x4962f5
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x496289
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x18], 1
jne 0x496318
test byte [esp + 0x4c], 1
jne 0x49632f
test byte [esp + 0x98], 1
je 0x4962b8
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 0x495c00
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x495c00
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xd0], 1
je 0x496279
push dword [esp + 0xd8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc8]
test ecx, ecx
jne 0x496284
jmp 0x496289
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x4c], 1
je 0x49629f
push dword [esp + 0x54]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x98], 1
jne 0x4962a9
jmp 0x4962b8
lea ecx, [esp + 0x88]
push dword [esp + 0x3c]
call fcn.00485b50
test byte [esp + 0x90], 1
jne 0x4967b0
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x496842
xor edi, edi
movzx eax, si
mov dword [esp + 0x60], eax
mov dword [esp + 0x94], ebp
jmp 0x496399
inc edi
cmp edi, ebp
je 0x496842
mov eax, dword [esp + 0x88]
mov ecx, edi
shl ecx, 5
cmp dword [eax + ecx], 0x4000000
jne 0x496390
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.00496b70
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4966a9
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 0x4965f1
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], 0x556440
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.0054f518
add esp, 8
movzx eax, byte [esp + 0x28]
mov cl, 1
test eax, eax
je 0x4965a7
cmp eax, 1
jne 0x496570
lea eax, [esp + 0xac]
mov dword [esp], eax
mov al, 4
jmp 0x4965a7
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.005394d0
test byte [esp + 0xac], 1
je 0x4965d4
push dword [esp + 0xb4]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4965e4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4965f1
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 0x49669a
cmp ebp, 0xb
jbe 0x496650
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 0x496650
add ebx, eax
mov eax, dword [esp + 0x34]
mov dword [eax], 0
inc dword [esp + 0x48]
jmp 0x496480
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.0054f3f2
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.0054f20c
jmp 0x49669c
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 0x496789
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], 0x556440
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.0054f518
add esp, 8
movzx eax, byte [esp + 0x10]
mov cl, 1
test eax, eax
je 0x496750
cmp eax, 1
jne 0x496722
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], eax
mov al, 4
jmp 0x496750
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.005394d0
test byte [esp + 0x4c], 1
je 0x496779
push dword [esp + 0x54]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x496789
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 0x496390
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x496390
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.0054f518
add esp, 8
mov ecx, edi
push str.unable_to_read_program_headers_to_locate_the_PT_NOTE_segment:
push 0
call fcn.0054f9b6
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.005394d0
test byte [esp], 1
jne 0x496872
test byte [esp + 0x18], 1
jne 0x496885
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x496842
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x90], 1
je 0x496867
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], 0
test ecx, ecx
je 0x496867
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 0x496832
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xc4]
test ecx, ecx
jne 0x49683d
jmp 0x496842