Function at 0x401288
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x40b22c
push dword [0x40bd6a]
call fcn.00401194
add esp, 8
cmp eax, 0
jne 0x401392
push 0
mov ebx, 0x104
call fcn.004070c0
add esp, 4
mov dword [ebp - 0x30], eax
push 0x40b200
push dword [ebp - 0x30]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401337
push ebx
call fcn.00406e71
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x40bd66]
test ebx, ebx
je 0x40134e
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [0x40bd66], eax
mov dword [ebp - 0x30], esp
push 0x10
push dword [0x40bd6a]
push 0x40b22d
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x401388
push 6
call fcn.00406e77
add esp, 4
call fcn.00401fc2
jmp 0x401392
push 0x40b22c
push dword [0x40bd66]
call fcn.00401194
add esp, 8
cmp eax, 0
jne 0x401446
push 0
mov ebx, 0x104
call fcn.004070c0
add esp, 4
mov dword [ebp - 0x30], eax
push 0x40b200
push dword [ebp - 0x30]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4013eb
push ebx
call fcn.00406e71
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x40bd66]
test ebx, ebx
je 0x401402
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [0x40bd66], eax
mov dword [ebp - 0x30], esp
push 0x10
push dword [0x40bd66]
push 0x40b242
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40143c
push 6
call fcn.00406e77
add esp, 4
call fcn.00401fc2
jmp 0x401821
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
call fcn.00402002
mov dword [ebp - 0x34], eax
push str..exe
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401482
push ebx
call fcn.00406e71
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401496
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [0x40bd66]
test eax, eax
jne 0x4014af
mov eax, 0x40b22c
push eax
push 1
mov ebx, 0x268
call fcn.00407200
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4014d9
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4014f0
mov eax, 0x40b25a
push eax
push 1
mov ebx, 0x194
call fcn.00407270
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1000
jle 0x40178b
push 0x80000004
push 0
mov eax, dword [0x40bd66]
test eax, eax
jne 0x401528
mov eax, 0x40b22c
push eax
push 1
mov ebx, 0x244
call fcn.00407280
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x401552
push 0x40bd66
call fcn.0040223b
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x40b200
push 0x80000004
push 0
mov eax, dword [0x40bd66]
test eax, eax
jne 0x401585
mov eax, 0x40b22c
push eax
push 4
mov ebx, 0x14c
call fcn.00407290
add esp, 0x34
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [0x40bd66]
test eax, eax
jne 0x4015b5
mov eax, 0x40b22c
push eax
push 2
mov ebx, 0x134
call fcn.00407340
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4015df
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
call fcn.00402002
mov dword [ebp - 0x38], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x401620
mov eax, 0x40b22c
push eax
push 1
mov ebx, 0x198
call fcn.00407540
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401646
push ebx
call fcn.00406e71
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
call fcn.00402002
mov dword [ebp - 0x44], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40166d
mov eax, 0x40b22c
push eax
push 1
mov ebx, 0x198
call fcn.00407540
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401693
push ebx
call fcn.00406e71
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
call fcn.00402002
mov dword [ebp - 0x50], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4016ba
mov eax, 0x40b22c
push eax
push 1
mov ebx, 0x198
call fcn.00407540
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4016e0
push ebx
call fcn.00406e71
add esp, 4
push dword [ebp - 0x54]
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
push 0x40b262
push dword [ebp - 8]
mov ecx, 5
call fcn.00401231
add esp, 0x14
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401711
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401721
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401731
push ebx
call fcn.00406e71
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x401744
mov eax, 0x40b25a
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401758
mov eax, 0x40b22c
push eax
push 2
mov ebx, 0x26c
call fcn.00407620
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40177b
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40178b
push ebx
call fcn.00406e71
add esp, 4
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x40b200
push 0x80000004
push 0
mov eax, dword [0x40bd66]
test eax, eax
jne 0x4017be
mov eax, 0x40b22c
push eax
push 4
mov ebx, 0x14c
call fcn.00407290
add esp, 0x34
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [0x40bd66]
test eax, eax
jne 0x4017ee
mov eax, 0x40b22c
push eax
push 2
mov ebx, 0x134
call fcn.00407340
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x40bd66]
test ebx, ebx
je 0x40181b
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [0x40bd66], eax
cmp dword [0x40bd6e], 1
jne 0x40185f
mov dword [ebp - 0x30], esp
push 0x20
push dword [ebp - 0x10]
push 0x40b277
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40185f
push 6
call fcn.00406e77
add esp, 4
push 0x80000006
push 0
push 0x406dd3
push 1
mov ebx, 0x9dc
call fcn.004076c0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0
push 0
push dword [ebp - 0x30]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4018bb
push 6
call fcn.00406e77
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4018e0
push 6
call fcn.00406e77
add esp, 4
call fcn.004026eb
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [0x40bd72]
test ebx, ebx
je 0x4018ff
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [0x40bd72], eax
mov eax, dword [0x40bd66]
test eax, eax
je 0x401923
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.00406e89
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401934
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x40b286
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40194e
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], esp
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x401971
push 6
call fcn.00406e77
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x4019b4
mov dword [ebp - 0x30], esp
push 0x10
push dword [ebp - 0x10]
push 0x40b28a
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4019af
push 6
call fcn.00406e77
add esp, 4
call fcn.00401fc2
call fcn.00402791
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x401a22
push 0x40b29f
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0x10
push dword [ebp - 0x10]
push dword [ebp - 0x30]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x401a0d
push 6
call fcn.00406e77
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401a1d
push ebx
call fcn.00406e71
add esp, 4
call fcn.00401fc2
push 0x80000006
push 0
push 0x406dd3
push 1
mov ebx, 0x9dc
call fcn.004076c0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0
push 0
push dword [ebp - 0x30]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x401a7e
push 6
call fcn.00406e77
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x401aa3
push 6
call fcn.00406e77
add esp, 4
mov eax, dword [0x40bd6a]
test eax, eax
je 0x401ac1
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.00406e89
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401ad2
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402875
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x401b61
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00407810
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push str.Error_DownloadFile1_Code:
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401b37
push ebx
call fcn.00406e71
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004052b5
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401b5c
push ebx
call fcn.00406e71
add esp, 4
call fcn.00401fc2
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000301
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x910
call fcn.00407ae0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401b9d
mov eax, 0x40b25a
push eax
push 1
mov ebx, 0x168
call fcn.00407810
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401bc3
push ebx
call fcn.00406e71
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401bd7
push ebx
call fcn.00406e71
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402875
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x400
jge 0x401c69
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00407810
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push str.Error_DownloadFile2_Code:
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c3f
push ebx
call fcn.00406e71
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004052b5
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401c64
push ebx
call fcn.00406e71
add esp, 4
call fcn.00401fc2
mov dword [0x40bd76], 0x907e7e3
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call fcn.00405308
mov dword [ebp - 0x2c], eax
push 0xffffffff
push dword [ebp - 0x1c]
call fcn.0040592e
push eax
push dword [ebp - 0x2c]
call fcn.00405308
mov dword [ebp - 0x2c], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
mov dword [ebp - 0x30], eax
push 0x20
push dword [ebp - 0x2c]
call fcn.0040592e
push 0
push 0
push 0
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x30]
push 3
mov ebx, 0x914
call fcn.00407b40
add esp, 0x28
mov dword [ebp - 0x30], esp
push 0xfa
call dword [sym.imp.KERNEL32.DLL_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x401d0a
push 6
call fcn.00406e77
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401d1d
mov eax, 0x40b22c
push eax
push 1
mov ebx, 0x130
call fcn.00407c20
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x24
push dword [ebp - 0x2c]
call fcn.0040592e
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x34]
push 0x80000301
push 0
push dword [ebp - 0x30]
push 3
mov ebx, 0x914
call fcn.00407b40
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
call fcn.00405953
mov dword [ebp - 0x30], eax
push 0x28
push dword [ebp - 0x2c]
call fcn.0040592e
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x34]
push 0x80000301
push 0
push dword [ebp - 0x30]
push 3
mov ebx, 0x914
call fcn.00407b40
add esp, 0x28
push 0x40bd7a
call fcn.0040596f
mov dword [ebp - 0x30], eax
push 0x2c
push dword [ebp - 0x2c]
call fcn.0040592e
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x34]
push 0x80000301
push 0
push dword [ebp - 0x30]
push 3
mov ebx, 0x914
call fcn.00407b40
add esp, 0x28
push 0x30
push dword [ebp - 0x2c]
call fcn.0040592e
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x30]
push 0x80000301
push 0
push dword [0x40bd6e]
push 3
mov ebx, 0x914
call fcn.00407b40
add esp, 0x28
push dword [ebp - 0x2c]
call fcn.0040598b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401edd
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00407810
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push str.Error_LoadFile_Code:
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401eb3
push ebx
call fcn.00406e71
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004052b5
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401ed8
push ebx
call fcn.00406e71
add esp, 4
call fcn.00401fc2
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00407810
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push str.Execution_Failed_Code:
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401f24
push ebx
call fcn.00406e71
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004052b5
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401f49
push ebx
call fcn.00406e71
add esp, 4
call fcn.00401fc2
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401f5e
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f6e
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401f7e
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401f8e
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f9e
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401fae
push ebx
call fcn.00406e71
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401fbe
push ebx
call fcn.00406e71
add esp, 4
mov esp, ebp
pop ebp
ret