Function at 0x4105cf
Capabilities:
Create directory

Disassembly:
push 0x1a0
mov eax, 0x46a218
call fcn.004499a7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x84], esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
push str.Worker
mov ecx, 0x492ae8
call fcn.0040184b
push 0x492b0c
lea ecx, [ebp - 0x80]
call fcn.004016b8
xor edi, edi
inc edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x70]
call fcn.004013f4
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
wait
lea ecx, [ebp - 0x64]
call fcn.004013f4
mov byte [ebp - 4], 4
push dword [esi]
push 0x471a34
lea eax, [ebp - 0x64]
push eax
call fcn.00403835
add esp, 0xc
cmp dword [esi + 0x14], edi
jne 0x41067b
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x64]
push eax
call fcn.004016b8
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x47338c
call fcn.00406dd3
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
call fcn.00413ee5
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004013f4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
push eax
mov edi, 0x492a0c
mov ecx, edi
call fcn.00419102
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 8
push 1
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call fcn.00418f4e
mov byte [ebp - 4], 9
push dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004084ae
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
call fcn.0040141e
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.0040141e
push 0x470b08
push 0x473388
lea ecx, [ebp - 0x68]
call fcn.004063af
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004065b9
push 0x471b08
lea ecx, [ebp - 0x6c]
call fcn.004085b6
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x410745
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410745
push 1
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.00418f4e
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406651
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.0040141e
jmp 0x4107b3
push dword [esi + 0xc]
lea ecx, [ebp - 0x1ac]
call fcn.00407bde
mov byte [ebp - 4], 0xd
push dword [eax]
lea ecx, [ebp - 0xbc]
call fcn.00401925
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], 0x10
jb 0x410773
mov eax, dword [eax + 4]
jmp 0x410776
add eax, 4
push eax
push str.create_directory_OK
mov ecx, edi
call fcn.00418ebd
mov byte [ebp - 4], 0xd
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.0040148e
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1a8]
cmp dword [ebp - 0x1ac], eax
je 0x4107b3
push dword [ebp - 0x1ac]
call fcn.0044b877
pop ecx
lea edi, [esi + 0xc]
push edi
lea ecx, [ebp - 0x6c]
call fcn.00403907
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x6c]
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x10
push dword [esi + 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x64]
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edi
call fcn.004016b8
mov byte [ebp - 4], 0x12
push ebx
lea eax, [esi + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040ebad
add esp, 0x20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30]
call fcn.004032ce
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x110]
call fcn.00422412
mov byte [ebp - 4], 0x16
push dword [edi]
lea ecx, [ebp - 0x1ac]
call fcn.00407bde
mov byte [ebp - 4], 0x17
push dword [eax]
lea ecx, [ebp - 0xbc]
call fcn.00401925
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x41086c
mov eax, dword [eax + 4]
jmp 0x41086f
add eax, 4
push eax
push str.DownloadComplete
mov ecx, 0x492a0c
call fcn.00418ebd
mov byte [ebp - 4], 0x17
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.0040148e
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1a8]
cmp dword [ebp - 0x1ac], eax
je 0x4108af
push dword [ebp - 0x1ac]
call fcn.0044b877
pop ecx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x88]
call fcn.004016b8
mov byte [ebp - 4], 0x19
push ebx
lea ecx, [ebp - 0x128]
call fcn.00421236
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.004017b9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x472ed4
call fcn.00401925
mov byte [ebp - 4], 0x1a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00403a54
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x19
call fcn.00405d10
add esp, 0x3c
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x110]
call fcn.0040de6d
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb8]
call fcn.00405971
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xf8], 0x3c
mov byte [ebp - 4], 0x1d
wait
call fcn.00433293
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xf0], eax
wait
mov dword [ebp - 4], 0x19
jmp 0x41097f
mov dword [ebp - 0xf4], 0x140
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xe0], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xe4], eax
cmp dword [esi], ebx
je 0x4109a8
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd0], str.exefile
lea edi, [esi + 0xc]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
push 3
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call fcn.00408227
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x54], 1
push 0x473348
push eax
call fcn.004076d1
pop ecx
pop ecx
test al, al
je 0x410a26
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
push 3
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.00408227
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x54], 3
push 0x473340
push eax
call fcn.004076d1
pop ecx
pop ecx
test al, al
mov byte [ebp - 0x4d], 1
jne 0x410a29
mov byte [ebp - 0x4d], bl
mov dword [ebp - 4], 0x1f
test byte [ebp - 0x54], 2
je 0x410a42
and dword [ebp - 0x54], 0xfffffffd
lea ecx, [ebp - 0x58]
call fcn.0040141e
mov dword [ebp - 4], 0x19
test byte [ebp - 0x54], 1
je 0x410a5b
and dword [ebp - 0x54], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.0040141e
cmp byte [ebp - 0x4d], bl
je 0x410b8d
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.INSTALL_NOT_EXE_NOT_MSI
call fcn.00406609
mov byte [ebp - 4], 0x21
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x470b08
call fcn.00406dd3
mov byte [ebp - 4], 0x22
add esi, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push esi
call fcn.004016b8
mov byte [ebp - 4], 0x23
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.Not_exe_and_not_msi
call fcn.00406dd3
mov byte [ebp - 4], 0x24
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x47111c
call fcn.00406dd3
mov byte [ebp - 4], 0x25
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push edi
call fcn.004016b8
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x19
call fcn.004144cf
add esp, 0x18
push 1
push ebx
push ebx
push dword [ebp - 0x88]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x471098
mov ecx, dword [ebp - 0x78]
call fcn.00406dd3
or dword [ebp - 0x54], 4
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x88]
call fcn.0040141e
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x110]
call fcn.00405971
mov byte [ebp - 4], 0x14
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0040148e
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x128]
call fcn.00405971
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.0040141e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.0040141e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0040141e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040141e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
call fcn.0040141e
mov eax, dword [ebp - 0x78]
wait
jmp 0x4114e0
fld qword [0x4732f8]
fcomp qword [esi + 0x20]
fnstsw ax
test ah, 0x41
jp 0x410bd0
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
push 3
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.00408227
mov byte [ebp - 4], 0x27
or dword [ebp - 0x54], 8
push 0x473340
push eax
call fcn.004061be
pop ecx
pop ecx
test al, al
mov byte [ebp - 0x4d], 1
jne 0x410bd3
mov byte [ebp - 0x4d], bl
mov dword [ebp - 4], 0x19
test byte [ebp - 0x54], 8
je 0x410bec
and dword [ebp - 0x54], 0xfffffff7
lea ecx, [ebp - 0x58]
call fcn.0040141e
cmp byte [ebp - 0x4d], bl
mov dword [ebp - 0xec], str.runas
jne 0x410c05
mov dword [ebp - 0xec], str.open
lea eax, [ebp - 0x9c]
push eax
push 2
lea ecx, [ebp - 0x110]
call fcn.00421236
mov ecx, eax
call fcn.0040654d
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x94]
push eax
push 2
lea ecx, [ebp - 0x110]
call fcn.00421236
mov ecx, eax
call fcn.0040652b
mov ecx, dword [ebp - 0x58]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.0040aae0
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x29
wait
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x47091b
call fcn.00406609
mov byte [ebp - 4], 0x2a
push dword [ebp - 0x88]
lea ecx, [ebp - 0x1ac]
call fcn.00407bde
mov byte [ebp - 4], 0x2b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00401925
mov byte [ebp - 4], 0x2c
cmp dword [eax + 0x18], 0x10
jb 0x410cb1
mov eax, dword [eax + 4]
jmp 0x410cb4
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
call fcn.00406609
mov byte [ebp - 4], 0x2d
mov byte [ebp - 4], 0x2f
mov ecx, 0x492a0c
call fcn.00419005
mov byte [ebp - 0x4d], al
mov byte [ebp - 4], 0x2e
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.0040148e
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x1a8]
cmp dword [ebp - 0x1ac], eax
je 0x410d05
push dword [ebp - 0x1ac]
call fcn.0044b877
pop ecx
cmp byte [ebp - 0x4d], bl
je 0x410f90
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x410ef4
cmp dword [esi], ebx
jne 0x410d2e
push 0x3e8
jmp 0x410d3d
cmp dword [esi + 0x14], ebx
jne 0x410d38
push dword [esi + 0x18]
jmp 0x410d3d
push 0x493e0
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x410e97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00407bde
mov byte [ebp - 4], 0x30
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00401925
mov byte [ebp - 4], 0x31
cmp dword [eax + 0x18], 0x10
jb 0x410d99
mov eax, dword [eax + 4]
jmp 0x410d9c
add eax, 4
push eax
push str.Error_GetExitCodeProcess
mov ecx, 0x492a0c
call fcn.00418ebd
mov byte [ebp - 4], 0x30
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.0040148e
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x1a8]
cmp dword [ebp - 0x1ac], eax
je 0x410ddc
push dword [ebp - 0x1ac]
call fcn.0044b877
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.004013f4
mov byte [ebp - 4], 0x32
push dword [ebp - 0xa0]
push 0x471a34
lea eax, [ebp - 0x5c]
push eax
call fcn.00403835
add esp, 0xc
mov eax, dword [0x492b0c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040349a
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.INSTALL_ERROR
call fcn.00406609
mov byte [ebp - 4], 0x33
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x470b08
call fcn.00406dd3
mov byte [ebp - 4], 0x34
lea eax, [esi + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x35
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x47328c
call fcn.00406dd3
mov byte [ebp - 4], 0x36
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x5c]
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x37
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push edi
call fcn.004016b8
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x32
call fcn.004144cf
add esp, 0x18
jmp 0x410ee3
push 0x471f50
lea ecx, [ebp - 0x64]
call fcn.004085b6
lea ecx, [ebp - 0x5c]
call fcn.004013f4
mov byte [ebp - 4], 0x39
push dword [ebp - 0xa0]
push 0x471a34
lea eax, [ebp - 0x5c]
push eax
call fcn.00403835
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040349a
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x80]
call fcn.004065b9
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x5c]
call fcn.0040141e
jmp 0x4110d3
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.INSTALL_ERROR
call fcn.00406609
mov byte [ebp - 4], 0x3a
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x470b08
call fcn.00406dd3
mov byte [ebp - 4], 0x3b
lea eax, [esi + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x3c
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.Error_ShellExecuteEx
call fcn.00406dd3
mov byte [ebp - 4], 0x3d
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x492b0c
call fcn.004016b8
mov byte [ebp - 4], 0x3e
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push edi
call fcn.004016b8
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x29
call fcn.004144cf
add esp, 0x18
mov eax, dword [0x492b0c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040349a
jmp 0x4110d3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0x472ed4
call fcn.00401925
mov byte [ebp - 4], 0x40
push ebx
lea ecx, [ebp - 0x128]
call fcn.00421236
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.00403a54
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x29
call fcn.00405d10
add esp, 0x3c
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0xb8]
call fcn.00421260
cmp eax, 3
jb 0x4110b2
push 1
lea ecx, [ebp - 0xb8]
call fcn.00421236
cmp dword [eax + 0x14], ebx
je 0x4110b2
push 0x471b90
push 1
lea ecx, [ebp - 0xb8]
call fcn.00421236
push eax
call fcn.00408462
pop ecx
pop ecx
test al, al
je 0x4110b2
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.INSTALL_ERROR
call fcn.00406609
mov byte [ebp - 4], 0x43
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x470b08
call fcn.00406dd3
mov byte [ebp - 4], 0x44
lea eax, [esi + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x45
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.Not_Exist_File_ShellExecuteEx
call fcn.00406dd3
mov byte [ebp - 4], 0x46
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x492b0c
call fcn.004016b8
mov byte [ebp - 4], 0x47
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push edi
call fcn.004016b8
mov byte [ebp - 4], 0x48
mov byte [ebp - 4], 0x42
call fcn.004144cf
add esp, 0x18
mov eax, dword [0x492b0c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0040349a
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xb8]
call fcn.00405971
wait
mov dword [ebp - 4], 0x28
jmp 0x411194
cmp dword [esi + 0x14], 1
jne 0x4111e2
push dword [esi]
push 0x471a34
lea eax, [ebp - 0x70]
push eax
call fcn.00403835
pop ecx
pop ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea eax, [ebp - 0x70]
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x50
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea eax, [ebp - 0x80]
push eax
call fcn.004016b8
mov byte [ebp - 4], 0x51
mov byte [ebp - 4], 0x28
call fcn.00413ee5
pop ecx
pop ecx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004016b8
or dword [ebp - 0x54], 4
mov byte [ebp - 4], 0x19
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004029a3
jmp 0x410b0d
call fcn.00449a03
ret