Function at 0x404c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x330
mov esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
lea edi, [ebp + 0x18]
mov eax, edx
sub eax, dword [ebp + 0x28]
mov ecx, esi
sbb ecx, dword [ebp + 0x2c]
movsd xmm0, qword [ebp + 8]
movsd qword [esp + 0x80], xmm0
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x404c83
mov byte [esp + 0x88], 0
xor edx, edx
jmp 0x404c93
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
mov dl, 1
mov byte [esp + 0x90], dl
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], esi
mov edi, dword [ebp + 0x14]
cmp edi, 2
je 0x404d8c
cmp edi, 1
jne 0x404e19
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0xd0], edx
mov edx, dword [esi + 4]
mov dword [esp + 0xd4], edx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x124], 0xffffffff
mov dword [esp + 0x120], 0xffffffff
movups xmm0, xmmword [esp + 0x118]
movups xmmword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xd0]
movsd qword [esp + 4], xmm0
mov esi, dword [ebp + 0x38]
mov dword [esp], esi
lea edi, [esp + 0x190]
mov ecx, edi
call fcn.0040adf4
sub esp, 0x1c
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov edx, edi
call fcn.00406770
test byte [esp + 0x1c8], 1
jne 0x4050cf
test byte [esp + 0x1b0], 1
je 0x404d6a
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x190], 1
je 0x405389
mov eax, dword [esp + 0x198]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x405389
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0xc8], edx
mov edx, dword [esi + 4]
mov dword [esp + 0xcc], edx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x114], 0xffffffff
mov dword [esp + 0x110], 0xffffffff
movups xmm0, xmmword [esp + 0x108]
movups xmmword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp + 4], xmm0
mov esi, dword [ebp + 0x38]
mov dword [esp], esi
lea edi, [esp + 0x190]
mov ecx, edi
call fcn.0040ae00
sub esp, 0x1c
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov edx, edi
call fcn.00406930
mov ecx, edi
call fcn.00406b30
jmp 0x405389
test ebx, ebx
je 0x404ea8
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], esi
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 4], xmm0
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 0x38]
mov dword [esp], esi
lea edi, [esp + 0x190]
mov ecx, edi
call fcn.0040add6
sub esp, 0x1c
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov edx, edi
call fcn.00406bd0
mov ecx, edi
call fcn.00406dd0
jmp 0x405389
cmp byte [ebp + 0x30], 0
je 0x404f3a
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0xb0], edx
mov edx, dword [esi + 4]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0x104], 0xffffffff
mov dword [esp + 0x100], 0xffffffff
movups xmm0, xmmword [esp + 0xf8]
movups xmmword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 4], xmm0
mov esi, dword [ebp + 0x38]
mov dword [esp], esi
lea edi, [esp + 0x190]
mov ecx, edi
call fcn.0040ae0c
sub esp, 0x1c
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov edx, edi
call fcn.00406e70
mov ecx, edi
jmp 0x405384
cmp dword [ebp + 0x34], 1
mov esi, dword [ebp + 0x38]
mov edi, dword [ebp + 0x10]
jne 0x405017
mov edx, dword [edi]
mov dword [esp + 0xa8], edx
mov edx, dword [edi + 4]
mov dword [esp + 0xac], edx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf4], 0xffffffff
mov dword [esp + 0xf0], 0xffffffff
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea ecx, [esp + 0x190]
call fcn.0040ae0c
sub esp, 0x1c
test byte [esp + 0x320], 1
jne 0x4050f3
cmp dword [esp + 0x194], 0
je 0x405119
mov eax, dword [esp + 0x190]
mov dword [esp], eax
lea ecx, [esp + 0x20]
call fcn.00407120
sub esp, 4
and byte [esp + 0x188], 0xfe
test byte [esp + 0x20], 1
je 0x4051a5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0x128]
call fcn.00406710
sub esp, 8
jmp 0x4051bf
mov edx, dword [edi]
mov dword [esp + 0xa0], edx
mov edx, dword [edi + 4]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0xe0], 0xffffffff
movups xmm0, xmmword [esp + 0xd8]
movups xmmword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea edi, [esp + 0x190]
mov ecx, edi
call fcn.0040ade8
sub esp, 0x1c
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov edx, edi
call fcn.004071d0
test byte [esp + 0x1f0], 1
jne 0x4050cf
test byte [esp + 0x1a8], 1
je 0x4050b5
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x19c], 1
je 0x404d6a
mov eax, dword [esp + 0x1a4]
jmp 0x404d62
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x190], 0
test ecx, ecx
je 0x405389
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405389
mov eax, dword [esp + 0x190]
mov dword [esp + 0x190], 0
mov byte [esp + 0x188], 0xff
mov dword [esp + 0x128], eax
jmp 0x4052dc
mov byte [esp + 0x20], 0x12
mov dword [esp + 0x21], 0x766e693c
mov dword [esp + 0x25], 0x64696c61
mov word [esp + 0x29], 0x3e
mov byte [esp + 0x2c], 0x12
mov dword [esp + 0x2d], 0x766e693c
mov dword [esp + 0x31], 0x64696c61
mov word [esp + 0x35], 0x3e
mov byte [esp + 0x38], 0x12
mov dword [esp + 0x39], 0x766e693c
mov dword [esp + 0x3d], 0x64696c61
mov word [esp + 0x41], 0x3e
mov byte [esp + 0x44], 0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x50], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0x70], 0
mov dword [esp + 0x78], 0
xorps xmm0, xmm0
movsd qword [esp + 0x61], xmm0
movsd qword [esp + 0x5c], xmm0
mov byte [esp + 0x188], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x130], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x128], xmm0
lea ecx, [esp + 0x134]
test byte [esp + 0x2c], 1
jne 0x4051e1
lea eax, [esp + 0x2c]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x4051f8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00406710
sub esp, 8
lea ecx, [esp + 0x140]
test byte [esp + 0x38], 1
jne 0x40526a
lea eax, [esp + 0x38]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x74]
movsd qword [esp + 0x17c], xmm0
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 0x16c], xmm0
movups xmm0, xmmword [esp + 0x44]
movups xmm1, xmmword [esp + 0x54]
movups xmmword [esp + 0x15c], xmm1
movups xmmword [esp + 0x14c], xmm0
test byte [esp + 0x2c], 1
je 0x4052c9
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x20], 1
jne 0x4052d0
jmp 0x4052dc
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00406710
sub esp, 8
test byte [esp + 0x38], 1
movups xmm0, xmmword [esp + 0x44]
movups xmm1, xmmword [esp + 0x54]
movups xmmword [esp + 0x14c], xmm0
movups xmmword [esp + 0x15c], xmm1
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 0x16c], xmm0
movsd xmm0, qword [esp + 0x74]
movsd qword [esp + 0x17c], xmm0
jne 0x405398
test byte [esp + 0x2c], 1
jne 0x405255
test byte [esp + 0x20], 1
je 0x4052dc
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
lea ecx, [esp + 0x80]
lea edx, [esp + 0x128]
call fcn.004071d0
test byte [esp + 0x188], 1
jne 0x40531f
test byte [esp + 0x140], 1
jne 0x40533c
test byte [esp + 0x134], 1
jne 0x405355
test byte [esp + 0x128], 1
jne 0x40536e
jmp 0x40537d
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x128], 0
test ecx, ecx
je 0x40537d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40537d
mov eax, dword [esp + 0x148]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x134], 1
je 0x405313
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x128], 1
je 0x40537d
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
lea ecx, [esp + 0x190]
call fcn.00407080
mov ecx, esi
call fcn.0040ade2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x2c], 1
je 0x4052c9
jmp 0x405255