Function at 0x4053f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2f8
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
lea esi, [ebp + 0x18]
mov edx, eax
sub edx, dword [ebp + 0x28]
mov ecx, edi
sbb ecx, dword [ebp + 0x2c]
movsd xmm0, qword [ebp + 8]
movsd qword [esp + 0x78], xmm0
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x405430
mov byte [esp + 0x80], 0
xor eax, eax
jmp 0x405440
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov al, 1
mov byte [esp + 0x88], al
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edi
mov esi, dword [ebp + 0x14]
cmp esi, 2
je 0x405518
cmp esi, 1
jne 0x405584
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0xe8], 0xffffffff
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov esi, dword [ebp + 0x38]
mov dword [esp], esi
lea edi, [esp + 0x158]
mov ecx, edi
call fcn.0040ae2a
sub esp, 0x18
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov edx, edi
call fcn.004067a0
test byte [esp + 0x190], 1
jne 0x4057ae
test byte [esp + 0x178], 1
je 0x4054f6
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x158], 1
je 0x405a65
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x405a65
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0xd8], 0xffffffff
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov esi, dword [ebp + 0x38]
mov dword [esp], esi
lea edi, [esp + 0x158]
mov ecx, edi
call fcn.0040ae36
sub esp, 0x18
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov edx, edi
call fcn.00406960
mov ecx, edi
call fcn.00406b60
jmp 0x405a65
test ebx, ebx
mov esi, dword [ebp + 0x38]
je 0x4055ee
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], eax
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 8], xmm0
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], esi
lea edi, [esp + 0x158]
mov ecx, edi
call fcn.0040ae0c
sub esp, 0x18
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov edx, edi
call fcn.00406c00
mov ecx, edi
call fcn.00406e00
jmp 0x405a65
cmp byte [ebp + 0x30], 0
je 0x405658
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xc8], 0xffffffff
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], esi
lea edi, [esp + 0x158]
mov ecx, edi
call fcn.0040ae42
sub esp, 0x18
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov edx, edi
call fcn.00406ea0
mov ecx, edi
jmp 0x405a60
cmp dword [ebp + 0x34], 1
jne 0x405714
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xb8], 0xffffffff
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], esi
lea ecx, [esp + 0x158]
call fcn.0040ae42
sub esp, 0x18
test byte [esp + 0x2e8], 1
jne 0x4057d2
cmp dword [esp + 0x15c], 0
je 0x4057f8
mov eax, dword [esp + 0x158]
mov dword [esp], eax
lea ecx, [esp + 0x18]
call fcn.00407150
sub esp, 4
and byte [esp + 0x150], 0xfe
test byte [esp + 0x18], 1
je 0x405884
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0xf0]
call fcn.00406740
sub esp, 8
jmp 0x40589e
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0xa8], 0xffffffff
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], esi
lea edi, [esp + 0x158]
mov ecx, edi
call fcn.0040ae1e
sub esp, 0x18
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov edx, edi
call fcn.00407200
test byte [esp + 0x1b8], 1
jne 0x4057ae
test byte [esp + 0x170], 1
je 0x405794
mov eax, dword [esp + 0x178]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x164], 1
je 0x4054f6
mov eax, dword [esp + 0x16c]
jmp 0x4054ee
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x158], 0
test ecx, ecx
je 0x405a65
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405a65
mov eax, dword [esp + 0x158]
mov dword [esp + 0x158], 0
mov byte [esp + 0x150], 0xff
mov dword [esp + 0xf0], eax
jmp 0x4059bb
mov byte [esp + 0x18], 0x12
mov dword [esp + 0x19], 0x766e693c
mov dword [esp + 0x1d], 0x64696c61
mov word [esp + 0x21], 0x3e
mov byte [esp + 0x24], 0x12
mov dword [esp + 0x25], 0x766e693c
mov dword [esp + 0x29], 0x64696c61
mov word [esp + 0x2d], 0x3e
mov byte [esp + 0x30], 0x12
mov dword [esp + 0x31], 0x766e693c
mov dword [esp + 0x35], 0x64696c61
mov word [esp + 0x39], 0x3e
mov byte [esp + 0x3c], 0
mov byte [esp + 0x44], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x50], 0
mov byte [esp + 0x68], 0
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
movsd qword [esp + 0x59], xmm0
movsd qword [esp + 0x54], xmm0
mov byte [esp + 0x150], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xf8], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0xf0], xmm0
lea ecx, [esp + 0xfc]
test byte [esp + 0x24], 1
jne 0x4058c0
lea eax, [esp + 0x24]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x4058d7
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00406740
sub esp, 8
lea ecx, [esp + 0x108]
test byte [esp + 0x30], 1
jne 0x405949
lea eax, [esp + 0x30]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 0x144], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 0x134], xmm0
movups xmm0, xmmword [esp + 0x3c]
movups xmm1, xmmword [esp + 0x4c]
movups xmmword [esp + 0x124], xmm1
movups xmmword [esp + 0x114], xmm0
test byte [esp + 0x24], 1
je 0x4059a8
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x18], 1
jne 0x4059af
jmp 0x4059bb
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00406740
sub esp, 8
test byte [esp + 0x30], 1
movups xmm0, xmmword [esp + 0x3c]
movups xmm1, xmmword [esp + 0x4c]
movups xmmword [esp + 0x114], xmm0
movups xmmword [esp + 0x124], xmm1
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 0x134], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 0x144], xmm0
jne 0x405a74
test byte [esp + 0x24], 1
jne 0x405934
test byte [esp + 0x18], 1
je 0x4059bb
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0xf0]
call fcn.00407200
test byte [esp + 0x150], 1
jne 0x4059fb
test byte [esp + 0x108], 1
jne 0x405a18
test byte [esp + 0xfc], 1
jne 0x405a31
test byte [esp + 0xf0], 1
jne 0x405a4a
jmp 0x405a59
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xf0], 0
test ecx, ecx
je 0x405a59
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405a59
mov eax, dword [esp + 0x110]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0xfc], 1
je 0x4059ef
mov eax, dword [esp + 0x104]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0xf0], 1
je 0x405a59
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
lea ecx, [esp + 0x158]
call fcn.004070b0
mov ecx, esi
call fcn.0040ae12
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x24], 1
je 0x4059a8
jmp 0x405934