Function at 0x405040
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff8
sub esp, 0x1e0
mov eax, dword [ebp + 8]
mov byte [esp + 0x1cb], 0x89
mov dword [esp + 0x1c4], 0x4c7672f7
mov ecx, dword [0x42664c]
mov edx, dword [0x426684]
mov esi, dword [0x426688]
xor edx, esi
mov esi, dword [0x4266c0]
mov edi, dword [0x426650]
xor ecx, edi
add edx, ecx
mov bl, byte [esp + 0x1ca]
mov ecx, dword [0x426730]
mov dword [esp + 0x178], eax
mov eax, dword [0x4266bc]
xor eax, esi
add eax, edx
mov edx, dword [esp + 0x1d0]
mov esi, dword [esp + 0x1d4]
mov dword [esp + 0x174], eax
mov eax, dword [0x4266f8]
mov dword [esp + 0x170], eax
mov eax, dword [0x4266f4]
mov dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x170]
xor eax, ecx
mov ecx, dword [esp + 0x174]
add eax, ecx
mov ecx, dword [0x42672c]
mov bh, 0x3a
sub bh, bl
mov byte [esp + 0x1ca], bh
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x16c]
xor ecx, eax
mov dword [esp + 0x1d0], 0x1f06838e
mov dword [esp + 0x1d4], 0
mov eax, esi
not eax
mov dword [esp + 0x164], eax
mov eax, edx
not eax
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x168]
add ecx, eax
mov eax, dword [0x426768]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x1d4], eax
mov eax, dword [0x42679c]
mov dword [esp + 0x158], eax
mov eax, dword [0x4267a0]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0x154]
xor eax, ecx
mov bh, bl
xor bh, 0xd0
mov ecx, dword [0x426764]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x15c]
xor ecx, eax
mov eax, dword [esp + 0x150]
add ecx, eax
mov eax, dword [esp + 0x14c]
add eax, ecx
mov byte [esp + 0x1ca], bh
mov ecx, dword [0x426844]
mov dword [esp + 0x148], eax
mov eax, dword [0x426848]
xor ecx, eax
mov eax, dword [0x4267d4]
mov dword [esp + 0x144], eax
mov eax, dword [0x4267d8]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x140]
xor eax, ecx
mov ecx, dword [esp + 0x148]
add eax, ecx
mov ecx, dword [0x426810]
mov dword [esp + 0x138], eax
mov eax, dword [0x42680c]
xor eax, ecx
mov ecx, dword [esp + 0x138]
add eax, ecx
mov ecx, dword [esp + 0x13c]
add ecx, eax
movzx eax, word [esp + 0x1c8]
mov dword [esp + 0x134], esi
mov si, ax
mov dword [esp + 0x130], eax
mov eax, edx
add eax, 0x321e6576
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
adc eax, 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x1d4], eax
mov eax, 0x700dc1ef
sub eax, edi
mov dword [esp + 0x124], eax
mov eax, dword [0x426880]
mov dword [esp + 0x120], eax
mov eax, dword [0x42687c]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x1cc], eax
mov eax, dword [0x4268ec]
mov dword [esp + 0x118], eax
mov eax, dword [0x4268f0]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x114]
xor eax, ecx
mov ecx, dword [0x426924]
mov dword [esp + 0x10c], eax
mov eax, dword [0x4268b8]
mov dword [esp + 0x108], eax
mov eax, dword [0x4268b4]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x108]
xor eax, ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x120]
xor ecx, eax
mov eax, dword [esp + 0x110]
add ecx, eax
mov eax, dword [esp + 0x100]
add eax, ecx
mov ecx, dword [esp + 0x10c]
add ecx, eax
mov eax, dword [0x426998]
mov dword [esp + 0xfc], eax
mov eax, dword [0x42695c]
mov dword [esp + 0xf8], eax
mov eax, dword [0x426960]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0xf4]
xor eax, ecx
mov bh, bl
and bh, 0x9d
mov ecx, dword [0x426928]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x104]
xor eax, ecx
mov ecx, dword [esp + 0xf0]
add eax, ecx
mov ecx, dword [esp + 0xec]
add ecx, eax
mov eax, dword [0x426994]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0xfc]
xor eax, ecx
mov ecx, dword [esp + 0xe8]
add eax, ecx
mov byte [esp + 0x1ca], bh
lea ecx, [esp + 0x188]
mov byte [esp + 0x188], 0x56
mov bh, byte [esp + 0x1cb]
add bh, 0xe0
mov byte [esp + 0x189], bh
mov bh, byte [esp + 0x1cb]
mov dword [esp + 0xe4], eax
mov al, 0xfb
sub al, bh
mov byte [esp + 0x18a], al
mov byte [esp + 0x18b], 0x74
mov byte [esp + 0x18c], 0x75
mov byte [esp + 0x18d], 0x61
mov byte [esp + 0x18e], 0x6c
mov eax, edx
add eax, 0x6b46ca74
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x134]
adc eax, 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x1d4], eax
mov byte [esp + 0x18f], 0x41
mov byte [esp + 0x190], 0x6c
mov byte [esp + 0x191], 0x6c
mov byte [esp + 0x192], 0x6f
mov byte [esp + 0x193], 0x63
mov byte [esp + 0x194], 0
xor edx, 0x7275de9b
mov dword [esp + 0x1d0], edx
mov eax, dword [esp + 0x134]
mov dword [esp + 0x1d4], eax
mov byte [esp + 0x195], 0xbe
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0xd8], edi
mov word [esp + 0xd6], si
mov byte [esp + 0xd5], bl
call fcn.004049d0
mov word [esp + 0x1c8], 0xfeb1
mov ecx, dword [esp + 0x1c4]
add ecx, 0xb3899d09
mov edx, esp
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xe4]
mov dword [edx + 4], ecx
mov dword [edx + 0xc], 4
mov dword [edx], 0
call eax
sub esp, 0x10
mov ecx, eax
mov edx, dword [0x42664c]
mov edi, dword [0x426650]
xor edx, edi
mov edi, dword [0x426654]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x1cc], esi
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], edx
call fcn.004048e0
mov ecx, dword [0x42668c]
mov edx, dword [0x426684]
mov esi, dword [0x426688]
xor edx, esi
mov dword [esp + 0x1cc], 0x4b143239
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xc8]
add esi, edi
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], esi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], edx
call fcn.004048e0
mov ecx, dword [0x4266bc]
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0xc8]
add edx, esi
mov edi, dword [esp + 0xd0]
add edi, edx
mov esi, dword [0x4266c4]
mov ebx, dword [0x4266c0]
xor ecx, ebx
mov ebx, esp
mov dword [ebx + 8], ecx
mov dword [ebx + 4], esi
mov dword [ebx], edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], edx
call fcn.004048e0
mov ecx, dword [0x4266f4]
mov edx, dword [0x4266f8]
xor ecx, edx
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
add edx, esi
mov edi, dword [esp + 0xd0]
add edi, edx
mov ebx, dword [0x4266fc]
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi + 4], ebx
mov dword [esi], edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], edx
call fcn.004048e0
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
add ecx, edx
mov esi, dword [esp + 0xd0]
add esi, ecx
mov edi, dword [0x426734]
mov ebx, dword [0x426730]
mov edx, dword [0x42672c]
xor edx, ebx
mov ebx, esp
mov dword [ebx + 8], edx
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], edx
call fcn.004048e0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
add ecx, edx
mov esi, dword [esp + 0xd0]
add esi, ecx
mov edi, dword [0x42676c]
mov ebx, dword [0x426768]
mov edx, dword [0x426764]
xor edx, ebx
mov ebx, esp
mov dword [ebx + 8], edx
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
call fcn.004048e0
mov ecx, dword [0x4267a4]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
add edx, esi
mov edi, dword [0x4267a0]
mov ebx, dword [0x42679c]
xor ebx, edi
mov edi, dword [esp + 0xd0]
add edi, edx
mov esi, esp
mov dword [esi + 8], ebx
mov dword [esi + 4], ecx
mov dword [esi], edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edx
call fcn.004048e0
mov ecx, dword [0x4267d8]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
add edx, esi
mov edi, dword [esp + 0x130]
add edi, edi
mov si, di
mov word [esp + 0x1c8], si
mov edi, dword [0x4267d4]
xor edi, ecx
mov ecx, dword [esp + 0xd0]
add ecx, edx
mov ebx, dword [0x4267dc]
mov esi, esp
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
mov dword [esi], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], edx
call fcn.004048e0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
add ecx, edx
mov esi, dword [esp + 0xd0]
add esi, ecx
mov edi, dword [0x426810]
mov ebx, dword [0x426814]
mov edx, dword [0x42680c]
xor edx, edi
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi + 4], ebx
mov dword [edi], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
call fcn.004048e0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add ecx, edx
mov esi, dword [esp + 0xd0]
add esi, ecx
mov edi, dword [0x426848]
mov ebx, dword [0x426844]
xor ebx, edi
mov edi, dword [0x42684c]
mov edx, esp
mov dword [edx + 8], ebx
mov dword [edx + 4], edi
mov dword [edx], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ebx
call fcn.004048e0
mov ecx, dword [0x42687c]
mov edx, dword [0x426884]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
add esi, edi
mov ebx, dword [esp + 0xd0]
add ebx, esi
mov edi, dword [0x426880]
xor ecx, edi
mov edi, esp
mov dword [edi + 8], ecx
mov dword [edi + 4], edx
mov dword [edi], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ecx
call fcn.004048e0
mov ecx, dword [0x4268b4]
mov edx, dword [0x4268b8]
xor ecx, edx
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
add edx, esi
mov edi, dword [esp + 0xd0]
add edi, edx
mov ebx, dword [0x4268bc]
mov esi, esp
mov dword [esi + 8], ecx
mov dword [esi + 4], ebx
mov dword [esi], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
call fcn.004048e0
mov ecx, dword [0x4268f0]
mov edx, dword [0x4268ec]
xor edx, ecx
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
add ecx, esi
mov edi, dword [esp + 0xd0]
add edi, ecx
mov ebx, dword [0x4268f4]
mov dword [esp + 0x44], eax
mov al, byte [esp + 0xd5]
mov byte [esp + 0x1ca], al
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ebx
mov dword [eax], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
call fcn.004048e0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add ecx, edx
mov esi, dword [0x426928]
mov edi, dword [0x426924]
xor edi, esi
mov esi, dword [esp + 0xd0]
add esi, ecx
mov ebx, dword [0x42692c]
mov edx, esp
mov dword [edx + 8], edi
mov dword [edx + 4], ebx
mov dword [edx], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edi
call fcn.004048e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add ecx, edx
mov esi, dword [esp + 0xd8]
or esi, 0x4f0b7133
mov edi, dword [0x426960]
mov ebx, dword [0x426964]
mov dword [esp + 0x1cc], esi
mov esi, dword [0x42695c]
mov edx, dword [esp + 0xd0]
add edx, ecx
xor esi, edi
mov edi, esp
mov dword [edi + 8], esi
mov dword [edi + 4], ebx
mov dword [edi], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
call fcn.004048e0
mov byte [esp + 0x1ca], 0xa7
mov ecx, 0x6f2f4fb0
mov edx, dword [esp + 0xd8]
sub ecx, edx
mov esi, dword [0x426998]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add edi, ebx
mov edx, dword [0x42699c]
mov dword [esp + 0x1cc], ecx
mov ecx, dword [0x426994]
xor ecx, esi
mov esi, dword [esp + 0xd0]
add esi, edi
mov edi, esp
mov dword [edi + 8], ecx
mov dword [edi + 4], edx
mov dword [edi], esi
mov dword [esp + 0x20], eax
call fcn.004048e0
mov ecx, dword [esp + 0x1c4]
xor ecx, 0x4c7672f7
mov dword [esp + 0x184], ecx
mov dword [esp + 0x1d4], 0xffffffff
mov dword [esp + 0x1d0], 0xb8c1fd06
mov dword [esp + 0x1c], eax
jmp 0x405bc4
mov word [esp + 0x1c8], 0x1b6
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0x1ac], eax
jb 0x405c53
jmp 0x405c34
mov eax, dword [esp + 0xe4]
cmp eax, 0
je 0x405b82
jmp 0x405c66
mov eax, dword [esp + 0x1c4]
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0xcc]
mov bl, byte [edx + ecx]
add bl, 0xe0
xor eax, 0x4c7672f6
mov byte [edx + ecx], bl
add ecx, eax
mov dword [esp + 0x180], ecx
mov eax, dword [esp + 0xe4]
cmp ecx, eax
je 0x405b82
jmp 0x405a54
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x180], eax
jmp 0x405a54
mov al, 0x20
mov cx, word [esp + 0xd6]
xor cx, 0xffff
mov word [esp + 0x1c8], cx
mov edx, dword [esp + 0x1b0]
mov esi, dword [esp + 0x1c4]
xor esi, 0x4c7672e8
mov edi, edx
and edi, esi
mov esi, dword [esp + 0xcc]
mov ah, byte [esi + edx]
sub al, byte [edi + 0x408128]
add al, ah
mov byte [esi + edx], al
add edx, 0x20
mov dword [esp + 0x1b0], edx
mov edi, dword [esp + 0xe4]
cmp edx, edi
jb 0x405aa1
jmp 0x405c34
mov eax, dword [esp + 0x1a8]
mov ecx, eax
mov edx, dword [esp + 0xcc]
add edx, eax
mov esi, dword [esp + 0x1c4]
mov edi, 0x4c767307
sub edi, esi
mov esi, edi
movups xmm0, xmmword [edi + edx]
mov edi, dword [esp + 0xcc]
movups xmm1, xmmword [edi + eax]
movaps xmm2, xmmword [0x4080f0]
paddb xmm1, xmm2
paddb xmm0, xmm2
movdqu xmmword [edi + ecx], xmm1
movdqu xmmword [edx + esi], xmm0
add ecx, 0x20
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x1a8], ecx
cmp ecx, eax
jne 0x405aff
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 0x17c], ecx
mov ecx, dword [esp + 0xe4]
cmp ecx, eax
jne 0x405a91
mov eax, 0x4c7672f7
mov ecx, dword [esp + 0xcc]
add ecx, 0x2000
mov edx, dword [esp + 0x178]
mov dword [edx + 0x18], ecx
mov dword [edx + 0xc], 0x1b000
mov ecx, dword [esp + 0xcc]
mov dword [edx], ecx
mov dword [edx + 0x10], 0x2000
sub eax, dword [esp + 0x1c4]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x1b4]
mov eax, dword [eax*4 + 0x40814c]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1b8], 0x28635164
mov eax, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1b8]
xor edx, edx
mov esi, 0x336837ab
sub esi, ecx
sbb edx, eax
mov dword [esp + 0x1b0], 0x3d7fa47f
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
jb 0x405aa1
jmp 0x405a1c
mov eax, dword [esp + 0x1b4]
add eax, 1
mov dword [esp + 0x184], eax
cmp eax, 0x20
je 0x405a3f
jmp 0x405bc4
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x1b0], eax
jmp 0x405aa1
mov dword [esp + 0x17c], 0
mov eax, dword [esp + 0xe4]
cmp eax, 0x20
jb 0x405a91
mov eax, dword [esp + 0xe4]
and eax, 0xffffffe0
mov dword [esp + 0x1cc], 0x322aa8b3
mov dword [esp + 0x1c0], eax
mov byte [esp + 0x1ca], 0xf7
mov dword [esp + 0x1a8], 0
jmp 0x405aff