Function at 0x405370
Capabilities:
Contain obfuscated stackstrings
Copy file
Create directory
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
movaps xmm0, xmmword [0x43baa0]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x50], 0
push edi
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6b7c6a60
mov dword [ebp - 0x18], 0x376b7c6f
mov dword [ebp - 0x14], 0x6976716a
mov byte [ebp - 0x10], 0
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x1b
jb 0x4053c0
lea eax, [ebp - 0x2b]
xor ebx, ebx
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00406a40
inc ebx
lea edi, [edi + 4]
cmp ebx, 1
jne 0x4053d8
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x44], 0
mov ah, 0xf
mov byte [ebp - 3], 0
mov al, 0x6c
mov byte [ebp - 8], ah
mov cl, al
mov byte [ebp - 3], 0
mov dl, 0x32
mov bl, 0x3e
xor cl, ah
xor dl, ah
xor al, ah
mov byte [ebp - 6], cl
xor bl, ah
mov byte [ebp - 5], dl
mov byte [ebp - 7], al
lea edx, [ebp - 7]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push dword [edi + esi*4]
call fcn.0040d390
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x44]
cmp eax, ebx
je 0x405475
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40545a
inc ecx
push ecx
push dword [ebp - 0x44]
mov ecx, eax
call fcn.004079b0
push ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.004077f0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40548a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004079b0
cmp dword [ebp - 0x34], 0
ja 0x4054af
mov edx, dword [ebp - 0x4c]
lea ecx, [esi + 1]
sub edx, edi
sar edx, 2
cmp edx, 1
cmovbe ecx, esi
lea eax, [ecx - 1]
cmp edx, eax
sbb esi, esi
and esi, ecx
jmp 0x405403
push 3
push 0
push 0x43b514
lea ecx, [ebp - 0x44]
call fcn.00407290
cmp eax, 0xffffffff
jne 0x4054fa
push 3
push 0
push 0x43b518
lea ecx, [ebp - 0x44]
call fcn.00407290
cmp eax, 0xffffffff
jne 0x4054fa
mov edx, dword [ebp - 0x4c]
lea ecx, [esi + 1]
sub edx, edi
sar edx, 2
cmp edx, 1
cmovbe ecx, esi
lea eax, [ecx - 1]
cmp edx, eax
sbb esi, esi
and esi, ecx
jmp 0x405403
mov bl, 0x4f
mov byte [ebp - 3], 0
mov dl, 0x73
mov byte [ebp - 7], bl
mov al, 0x2c
mov byte [ebp - 3], 0
mov cl, 0x71
xor dl, bl
xor al, bl
mov byte [ebp - 6], dl
xor cl, bl
mov byte [ebp - 5], al
mov byte [ebp - 4], cl
test dl, dl
jne 0x405524
xor ecx, ecx
jmp 0x405539
lea ecx, [ebp - 6]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405530
sub ecx, edx
push ecx
push 0
lea eax, [ebp - 6]
push eax
lea ecx, [ebp - 0x44]
call fcn.00407290
mov esi, eax
mov byte [ebp - 3], 0
mov al, 0x54
mov byte [ebp - 3], 0
mov bl, 0x68
mov byte [ebp - 7], al
mov cl, 0x30
mov dl, 0x6a
xor bl, al
xor cl, al
xor dl, al
mov byte [ebp - 6], bl
mov byte [ebp - 5], cl
mov byte [ebp - 4], dl
test bl, bl
jne 0x405574
xor ecx, ecx
jmp 0x405589
lea ecx, [ebp - 6]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405580
sub ecx, edx
push ecx
push 0
lea eax, [ebp - 6]
push eax
lea ecx, [ebp - 0x44]
call fcn.00407290
cmp esi, 0xffffffff
je 0x405a5f
cmp eax, 0xffffffff
je 0x405a5f
cmp esi, eax
ja 0x405a5f
add esi, 3
mov dword [ebp - 0x54], 0xf
sub eax, esi
mov dword [ebp - 0x58], 0
push eax
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 0x68], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.00407490
movaps xmm0, xmmword [str.IeOI]
xor ecx, ecx
movups xmmword [ebp - 0xba], xmm0
mov word [ebp - 0x9a], 0x18
movaps xmm0, xmmword [0x43ba10]
movups xmmword [ebp - 0xaa], xmm0
nop
mov al, byte [ebp - 0xba]
xor byte [ebp + ecx - 0xb9], al
inc ecx
cmp ecx, 0x20
jb 0x405600
cmp byte [ebp - 0xb9], 0
mov byte [ebp - 0x99], 0
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
jne 0x405642
xor ecx, ecx
jmp 0x405659
lea ecx, [ebp - 0xb9]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405650
sub ecx, edx
push ecx
lea eax, [ebp - 0xb9]
push eax
lea ecx, [ebp - 0x98]
call fcn.00407390
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x28]
call fcn.004090c0
push eax
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xd4]
call fcn.00409410
mov esi, eax
add esp, 4
lea eax, [ebp - 0x68]
cmp eax, esi
je 0x4056c4
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x4056a9
inc ecx
push ecx
push dword [ebp - 0x68]
mov ecx, eax
call fcn.004079b0
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.004077f0
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x4056e2
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.004079b0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
cmp eax, 0x10
jb 0x405712
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004079b0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x405742
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.004079b0
mov cl, 0x60
mov byte [ebp - 9], 0
mov al, 0x1c
mov byte [ebp - 0xb], cl
xor al, cl
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], al
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
jne 0x40576e
xor ecx, ecx
jmp 0x40577d
lea ecx, [ebp - 0xa]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405774
sub ecx, edx
push ecx
lea eax, [ebp - 0xa]
push eax
lea ecx, [ebp - 0x80]
call fcn.00407390
push 0x104
xor edi, edi
lea eax, [ebp - 0x3f0]
push edi
push eax
mov bl, 0x30
call fcn.00415770
add esp, 0xc
lea eax, [ebp - 0x4f8]
push 0x104
push edi
push eax
call fcn.00415770
add esp, 0xc
nop dword [eax + eax]
push dword [ebp - 0x70]
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
push 0
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
push eax
call fcn.00407290
mov esi, eax
cmp esi, 0xffffffff
je 0x405895
mov ecx, edi
sub ecx, 0
je 0x40585e
sub ecx, 1
je 0x40582b
sub ecx, 1
jne 0x40587f
push esi
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406be0
cmp dword [eax + 0x14], 0x10
jb 0x40580f
mov eax, dword [eax]
push eax
push 0x43b564
lea eax, [ebp - 0x4f8]
push 0x104
push eax
call fcn.00401070
add esp, 0x10
jmp 0x405877
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406be0
cmp dword [eax + 0x14], 0x10
jb 0x405842
mov eax, dword [eax]
push eax
push 0x43b564
lea eax, [ebp - 0x3f0]
push 0x104
push eax
call fcn.00401070
add esp, 0x10
jmp 0x405877
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406be0
cmp dword [eax + 0x14], 0x10
jb 0x405875
mov eax, dword [eax]
mov bl, byte [eax]
lea ecx, [ebp - 0x28]
call fcn.00406d60
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x68]
add eax, esi
inc edi
push eax
push 0
call fcn.00406cc0
jmp 0x4057c0
push 0x104
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.00415770
add esp, 0xc
lea eax, [ebp - 0x2e8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x1e0]
push 0
push eax
call fcn.00415770
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dl, bl
call fcn.00404aa0
cmp dword [eax + 0x14], 0x10
jb 0x4058e7
mov eax, dword [eax]
lea ecx, [ebp - 0x3f0]
push ecx
push eax
push str._s_s
lea eax, [ebp - 0x1e0]
push 0x104
push eax
call fcn.00401070
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00406d60
push 0
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405934
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405a2a
lea ecx, [ebp - 0x1e0]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405940
mov esi, 0x103
sub ecx, edx
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebp - 0x1e0]
push 0x43b51c
push eax
call fcn.00419410
lea ecx, [ebp - 0x1e0]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405970
sub ecx, edx
lea eax, [ebp - 0x4f8]
sub esi, ecx
push esi
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00419410
add esp, 0xc
lea eax, [ebp - 0x1e0]
lea ecx, [ebp - 0x28]
push eax
call fcn.00406e80
sub esp, 0x18
lea eax, [ebp - 0x1e0]
mov ecx, esp
push eax
call fcn.00406e80
sub esp, 0x18
lea edx, [ebp - 0x28]
mov ecx, esp
call fcn.0040f350
call fcn.00404d50
add esp, 0x30
lea ecx, [ebp - 0x28]
call fcn.00406d60
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.00413d10
add esp, 8
test eax, eax
jne 0x405a2a
push eax
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x405a2a
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406e80
lea ecx, [ebp - 0x28]
call fcn.00405ab0
test eax, eax
lea ecx, [ebp - 0x28]
sete bl
call fcn.00406d60
test bl, bl
jne 0x405aa0
lea ecx, [ebp - 0x80]
call fcn.00406d60
lea ecx, [ebp - 0x68]
call fcn.00406d60
lea ecx, [ebp - 0x44]
call fcn.00406d60
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x405a99
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00407860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x405a74
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004079b0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
test edi, edi
je 0x405a99
mov eax, dword [ebp - 0x48]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.00407860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00417d69
int3