Function at 0x1001765c
Capabilities:
Accept command line arguments
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100659f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100180e4
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xf0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x114], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x70], 0x7195
mov dword [ebp - 0xec], str.kvhmqhfg_uefkhclam_nmxltwm_lpexrgsh
cmp dword [ebp - 0x70], 0x751e
jle 0x10017780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
and dword [ebp - 0x38], 0
jmp 0x100176f8
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5809
jge 0x10017780
and dword [ebp - 0x5c], 0
jmp 0x1001770e
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x1018
jge 0x1001777b
and dword [ebp - 0x60], 0
jmp 0x10017724
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x276
jge 0x10017779
and dword [ebp - 0x50], 0
jmp 0x1001773a
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2daa
jge 0x10017777
mov eax, dword [ebp - 0x5c]
cdq
idiv dword [ebp - 0x60]
add edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x50]
mov eax, edx
cdq
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
mov ecx, 0x10081dd8
call fcn.1000c947
jmp 0x10017733
jmp 0x1001771d
jmp 0x10017707
jmp 0x100176f1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0x70ac
jge 0x100177a6
mov edx, dword [ebp - 0xec]
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x100177c2
or dword [ebp - 4], 0xffffffff
jmp 0x100177cc
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x10017f85
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x48], 0x73838a1f
mov dword [ebp - 0x98], 0xfffffff6
mov dword [ebp - 0x7c], 0xf93bd5de
mov dword [ebp - 0xfc], 0xfffffff6
mov dword [ebp - 0x8c], 0x8dacb314
mov dword [ebp - 0xd0], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x48]
jge 0x1001788e
mov dword [ebp - 0x40], 0
jmp 0x10017858
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1001786e
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x158], 0
jmp 0x10017851
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x158], eax
jmp 0x10017a99
push 4
lea ecx, [ebp - 0x130]
call fcn.100014bd
mov dword [ebp - 4], 2
mov dword [ebp - 0x14c], 0x7d96711d
mov dword [ebp - 0x18c], 0xc0223dec
push 1
lea ecx, [ebp - 0x168]
call fcn.100014bd
mov byte [ebp - 4], 3
push 1
push 0x4281
push 1
push 0x2ed
push 0
push 0x23d2
lea eax, [ebp - 0x120]
push eax
push 0x4200
push 0x206d
lea eax, [ebp - 0x130]
push eax
push 0x1259
call fcn.1001ae53
add esp, 0x2c
push 0x6d19
lea eax, [ebp - 0x168]
push eax
push 0x5f05
push 1
push 0x959
push 0
lea eax, [ebp - 0x120]
push eax
push 0x69ec
call fcn.1001d88b
add esp, 0x20
push 3
lea ecx, [ebp - 0x130]
call fcn.1000155c
cmp dword [eax], 0
je 0x100179dc
mov dword [ebp - 0xc8], 0xfffffffa
push 3
lea ecx, [ebp - 0x13c]
call fcn.100014bd
mov byte [ebp - 4], 4
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x194]
push eax
push 0x4c46
push 0x6433
push 1
push 1
push 0x2df2
push 0x5baa
call fcn.10016ae7
add esp, 0x20
lea eax, [ebp - 0x48]
push eax
push 0x26bd
lea eax, [ebp - 0xc8]
push eax
push 0x25f8
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x7c]
push eax
push 1
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x13c]
push eax
push 1
call fcn.10014c00
add esp, 0x28
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.10001540
jmp 0x10017a7b
mov dword [ebp - 0x15c], 0xe7a
mov dword [ebp - 0x190], 0xfffffff7
mov dword [ebp - 0x58], 0
jmp 0x10017a00
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x10017a16
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x1a0], 0x2d5fba25
jmp 0x100179f9
push 0x2eec
lea eax, [ebp - 0x8c]
push eax
push 0x2c20
push 0x3253
push 0x2f12
push 0x5427
push 0
push 0x7ba4
push 0x57af
push 0x3080
push 0x5e07
push 1
call fcn.10016c1e
add esp, 0x30
mov byte [ebp - 0x19], 0
push 1
push 0x5f0f
push 0x690
push 0x3720
push 1
lea eax, [ebp - 0x19]
push eax
push 1
call fcn.10014d8b
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.10001540
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10001540
lea eax, [ebp - 0x48]
push eax
push 0x5110
push 1
push 0x200a
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0x5092
lea eax, [ebp - 0xd0]
push eax
push 1
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10016fb1
add esp, 0x2c
lea ecx, [ebp - 0x188]
call fcn.10001deb
mov dword [ebp - 4], 5
push dword [ebp - 0x9c]
push 1
lea eax, [ebp - 0x188]
push eax
push 0x2a4b
push 1
push 0
push 0x76cf
call fcn.1001b8d1
add esp, 0x1c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jae 0x10017f4b
mov dword [ebp - 0x20], 0xffffffff
push 4
lea ecx, [ebp - 0x6c]
call fcn.100014bd
mov byte [ebp - 4], 6
push 1
push 0x4018
push 0x2e1f
lea eax, [ebp - 0x16c]
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
push 0x1db5
push 0x6b43
push 0
call fcn.10018318
add esp, 0x24
mov dword [ebp - 0x20], 0
jmp 0x10017b76
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xc
jne 0x10017e25
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x18], 0
jmp 0x10017b97
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x10017e20
mov dword [ebp - 0xac], 0x3bf38c08
mov dword [ebp - 0xa8], 0x3bf38c08
mov dword [ebp - 0xa4], 0x3bf38c08
mov dword [ebp - 0xa0], 0x3bf38c08
push 0
push 0xc61
push 0x74d7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x2335
call fcn.1001d95e
add esp, 0x18
mov dword [ebp - 0x84], 0x44e6
mov dword [ebp - 0x11c], str.mdhhgpsr_lfxybsiw_eqvf_zihsigyui_zfhajjpjf_fsiwiiww_thsg_qqb_sfe_diklpoeo_injtkv_qzv_wpb
cmp dword [ebp - 0x84], 0x48b0
jle 0x10017c80
and dword [ebp - 0x3c], 0
jmp 0x10017c17
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x454d
jge 0x10017c80
and dword [ebp - 0x30], 0
jmp 0x10017c2d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6bbf
jge 0x10017c7e
and dword [ebp - 0x34], 0
jmp 0x10017c43
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1e2a
jge 0x10017c7c
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
sar eax, cl
cdq
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
push dword [ebp - 0x100]
push dword [ebp - 0x104]
mov ecx, 0x10081dd8
call fcn.1000c947
jmp 0x10017c3c
jmp 0x10017c26
jmp 0x10017c10
mov byte [ebp - 4], 7
cmp dword [ebp - 0x84], 0x440b
jge 0x10017ca0
mov edx, dword [ebp - 0x11c]
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x10017cbc
mov dword [ebp - 4], 6
jmp 0x10017ccc
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xac], 3
jmp 0x10017cf7
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xac]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xac], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xac], 0
jl 0x10017e1b
mov dword [ebp - 0x14], 0x50b5f0b1
mov dword [ebp - 0x14], 0
jmp 0x10017d21
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x10017e08
push dword [ebp - 0x18]
lea ecx, [ebp - 0x6c]
call fcn.1000155c
cmp dword [eax], 0
jne 0x10017d4f
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0xac]
lea ecx, [ebp - 0x6c]
call fcn.1000155c
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jg 0x10017d63
mov dword [ebp - 0x94], 1
jmp 0x10017d6a
and dword [ebp - 0x94], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x6c]
call fcn.1000155c
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
je 0x10017d88
mov dword [ebp - 0x74], 1
jmp 0x10017d8c
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
add eax, 0x32c5b641
imul esi, eax, 0xcf45
push dword [ebp - 0x18]
lea ecx, [ebp - 0x6c]
call fcn.1000155c
cmp esi, dword [eax]
jg 0x10017db2
mov dword [ebp - 0x78], 1
jmp 0x10017db6
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 4
jae 0x10017dc8
mov dword [ebp - 0xd8], 1
jmp 0x10017dcf
and dword [ebp - 0xd8], 0
push 2
lea ecx, [ebp - 0x6c]
call fcn.1000155c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x170], eax
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x6c]
call fcn.1000155c
mov dword [eax], esi
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xac], 0
je 0x10017e03
jmp 0x10017e08
jmp 0x10017d1a
push 0
push 0x40e3
call fcn.10018470
pop ecx
pop ecx
jmp 0x10017cde
jmp 0x10017b90
jmp 0x10017b6f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.10001540
lea eax, [ebp - 0x124]
mov dword [ebp - 0xe0], eax
and dword [ebp - 0x44], 0
jmp 0x10017e51
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x44], 2
jae 0x10017f35
push 4
lea ecx, [ebp - 0x148]
call fcn.100014bd
mov byte [ebp - 4], 9
mov dword [ebp - 0x108], 0x4a18885c
mov dword [ebp - 0x2c], 0
jmp 0x10017e86
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x10017ea2
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x148]
call fcn.1000155c
mov dword [eax], 0xb3198a8f
jmp 0x10017e7f
push 0
push 0xa6d
push 1
push 0x6e05
push 0
lea eax, [ebp - 0x108]
push eax
push 0x29b4
push 0xb8
lea eax, [ebp - 0x148]
push eax
push 0x3c49
push 0x5b45
call fcn.1001ae53
add esp, 0x2c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x148]
call fcn.10001540
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
xor edx, edx
div dword [0x1008169c]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10010cb7
pop ecx
pop ecx
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x44]
mov byte [ecx], al
jmp 0x10017e43
push dword [ebp - 0x124]
lea ecx, [ebp - 0x188]
call fcn.1000ca9f
jmp 0x10017b13
lea eax, [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.1000ca81
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.10001e23
jmp 0x10018102
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x90], 0x76b5
mov dword [ebp - 0xd4], str.zqz_uoxy_mqrgtkfc_aphpr_ehp_zkmpf_vsbycdas_wga_qrnfpjbvw_mgop_ssmiatht
cmp dword [ebp - 0x90], 0x76e6
jle 0x1001805e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [ebp - 0x4c], 0
jmp 0x10017fe6
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2571
jge 0x10018058
and dword [ebp - 0x54], 0
jmp 0x10017ffc
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x1fc9
jge 0x10018056
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
lea ecx, [ebp - 0x1b8]
call fcn.10001301
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.100014b2
push eax
call fcn.1004c2d0
pop ecx
lea ecx, [ebp - 0x1b8]
call fcn.100014a8
jmp 0x10017ff5
jmp 0x10017fdf
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x90], 0x7459
jge 0x10018089
push dword [ebp - 0xd4]
call fcn.1004c2d0
pop ecx
jmp 0x100180a5
or dword [ebp - 4], 0xffffffff
jmp 0x100180af
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x100180c5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 3
jge 0x100180e2
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0xdc]
call fcn.1000155c
or dword [eax], 0xffffffff
jmp 0x100180ba
jmp 0x10018102
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
push 1
push 0x6608
push dword [ebp - 0xb4]
call fcn.100139bf
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret