Function at 0x403910
Capabilities:
Check for time delay via gettickcount
Create process on windows
Delete directory
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40d6eb
push eax
mov eax, 0x1720
mov dword fs:[0], esp
call fcn.00406d00
push ebx
push ebp
push esi
or ebp, 0xffffffff
push edi
mov edi, str._bootinst
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x1748]
not ecx
dec ecx
push ecx
push str._bootinst
push esi
call fcn.00406bf0
add esp, 0xc
test eax, eax
jne 0x403965
mov byte [esp + 0x12], 1
jmp 0x4039a1
mov edi, str._delete
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._delete
push esi
call fcn.00406bf0
add esp, 0xc
test eax, eax
jne 0x40399c
mov eax, dword [0x412dc4]
mov ecx, dword [eax + 8]
push ecx
call fcn.00404b10
add esp, 4
jmp 0x40469a
mov byte [esp + 0x12], 0
lea edx, [esp + 0x720]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4039d4
push 0x10
push str.Error
push str.Cannot_get_path_to_installation_payload
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, ebp
jmp 0x40469c
push 0
lea eax, [esp + 0xd34]
push 0
lea ecx, [esp + 0xac]
push eax
lea edx, [esp + 0x72c]
push ecx
push edx
call fcn.00406900
add esp, 0x14
call section..text
lea eax, [esp + 0x824]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
cmp edx, 0x104
jbe 0x403a38
lea ecx, [esp + 0x928]
push 0
push ecx
push str.Windows_system_path_too_long
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, ebp
jmp 0x40469c
test edx, edx
jne 0x403a59
push edx
lea edx, [esp + 0x92c]
push edx
push str.Cannot_get_windows_system_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, ebp
jmp 0x40469c
mov al, byte [esp + edx + 0x823]
lea ebx, [esp + edx + 0x824]
cmp al, 0x5c
je 0x403a8d
mov edi, 0x40f030
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.TSAd.dll]
mov ecx, ebp
xor eax, eax
lea edx, [esp + edx + 0x824]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x828]
push ecx
call fcn.004068b0
add esp, 8
test eax, eax
jne 0x403b01
lea edx, [esp + 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x403b01
lea eax, [esp + 0x824]
lea ecx, [esp + 0x720]
push eax
push ecx
call fcn.00404710
add esp, 8
test eax, eax
je 0x403b01
mov eax, ebp
jmp 0x40469c
lea ecx, [esp + 0x2c]
call fcn.00405110
lea edx, [esp + 0x720]
lea ecx, [esp + 0x2c]
push edx
mov dword [esp + 0x173c], 0
call fcn.00405170
test al, al
jne 0x403b40
push 0x10
push str.Error
push str.Cannot_open_payload_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403b6a
lea ecx, [esp + 0x2c]
call fcn.004052e0
test al, al
jne 0x403b81
push 0x10
push str.Error
push str.Cannot_initialize_payload_for_extraction
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x2c]
call fcn.00405860
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1738], ebp
call fcn.00405740
mov eax, ebp
jmp 0x40469c
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x403b95
mov dword [esp + 0x18], 0x412da4
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x928]
push esi
push str._s_Installation_Error
push eax
call fcn.00406840
add esp, 0xc
lea ecx, [esp + 0x1030]
push esi
push str._s_Installation_Warning
push ecx
call fcn.00406840
add esp, 0xc
lea edx, [esp + 0x1530]
push esi
push str._s_Installation_Information
push edx
call fcn.00406840
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call ebx
push eax
push 0x412da8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [0x412da8]
lea ecx, [esp + 0xa8]
push eax
push 0x40f480
push ecx
call fcn.00406840
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 0xc
lea edx, [esp + 0x620]
push edx
push 0x104
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x620]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x624]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004068b0
add esp, 8
test eax, eax
jne 0x403cf0
call ebx
push eax
push 0x412da8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [0x412da8]
lea edx, [esp + 0xa8]
push ecx
push 0x40f480
push edx
call fcn.00406840
add esp, 0xc
lea eax, [esp + 0x620]
push eax
push 0x104
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x620]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x624]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004068b0
add esp, 8
test eax, eax
je 0x403c6b
lea ecx, [esp + 0x2c]
call fcn.004055a0
test al, al
jne 0x403d22
lea ecx, [esp + 0x928]
push 0x10
push ecx
push str.Cannot_extract_payload
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x2c]
call fcn.00405860
jmp 0x4042cd
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x1cc]
push eax
push 0x104
mov dword [esp + 0x1c], edx
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1cc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1cc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.TSAd.dll]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x418]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x104
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x418]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x418]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.TSAdBot.exe]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x3c]
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jne 0x403e43
lea eax, [esp + 0x928]
push 0x10
push eax
push str.Original_software_distribution_not_found
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x2c]
call fcn.004057d0
lea ecx, [esp + 0x2c]
call fcn.00405860
jmp 0x4042cd
lea ecx, [esp + 0xc8]
push ecx
push 0x104
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xc8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2d0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x104
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x2d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.VcpDLL.dll]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0x51c]
push eax
push 0x104
rep movsb byte es:[edi], byte [esi]
call ebp
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x51c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x13], al
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x51c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.SimpleRegistration.dll]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
and eax, 4
mov dword [esp + 0x1c], eax
jne 0x40410f
lea eax, [esp + 0xb28]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, eax
cmp edx, 0x104
jbe 0x403fdc
lea ecx, [esp + 0x928]
push esi
push ecx
push str.AdGateway_DLL_install:_Windows_directory_path_too_long
jmp 0x404175
test edx, edx
jne 0x403ff4
lea ecx, [esp + 0x928]
push 0x10
push ecx
push str.AdGateway_DLL_install:_cannot_get_Windows_directory_path
jmp 0x404175
mov al, byte [esp + edx + 0xb27]
lea ebp, [esp + edx + 0xb28]
cmp al, 0x5c
je 0x404029
mov edi, 0x40f030
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.TSAd.dll]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + edx + 0xb28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov bl, 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1cc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xb28]
push ecx
push edx
call fcn.00405f90
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x404076
xor bl, bl
test bl, bl
jne 0x4040c4
mov al, byte [esp + 0x12]
test al, al
jne 0x4040b2
lea eax, [esp + 0x720]
push eax
call fcn.00404910
add esp, 4
test eax, eax
jne 0x40427d
push 0x30
push str.Information
push str.A_DLL_that_is_currently_in_use_needs_to_be_updated._Rebooting_after_this_installation_is_completed_is_highly_recommended.
push eax
mov byte [esp + 0x23], 1
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x1cc]
push eax
call fcn.00404b10
add esp, 4
jmp 0x40410f
lea ecx, [esp + 0x1cc]
push ecx
call fcn.00404b10
add esp, 4
test eax, eax
jne 0x40410f
lea edx, [esp + 0x1cc]
lea eax, [esp + 0xe30]
push edx
push str.Unable_to_delete_copy_of__s__please_delete_it_manually_
push eax
call fcn.00406840
add esp, 0xc
lea ecx, [esp + 0x1030]
lea edx, [esp + 0xe30]
push 0x30
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x404362
mov al, byte [esp + 0x12]
cmp al, 1
je 0x404134
test al, al
jne 0x404362
cmp esi, 0xffffffff
je 0x404362
lea eax, [esp + 0xc2c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, eax
cmp edx, 0x104
jbe 0x404162
lea ecx, [esp + 0x928]
push 0
push ecx
push str.VcpDLL_install:_Windows_directory_path_too_long
jmp 0x404175
test edx, edx
jne 0x4041d3
lea ecx, [esp + 0x928]
push 0x10
push ecx
push str.VcpDLL_install:_cannot_get_Windows_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x2c]
call fcn.00405860
lea edx, [esp + 0x1cc]
push edx
call fcn.00404b10
add esp, 4
lea eax, [esp + 0x418]
push eax
call fcn.00404b10
add esp, 4
lea ecx, [esp + 0xc8]
push ecx
call fcn.00404b10
add esp, 4
lea edx, [esp + 0x2d0]
push edx
call fcn.00404b10
add esp, 4
lea eax, [esp + 0x51c]
push eax
jmp 0x4042c5
mov al, byte [esp + edx + 0xc2b]
lea ebp, [esp + edx + 0xc2c]
cmp al, 0x5c
je 0x404208
mov edi, 0x40f030
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.VcpDLL.dll]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + edx + 0xc2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov bl, 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc2c]
push ecx
push edx
call fcn.00405f90
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x404255
xor bl, bl
test bl, bl
jne 0x404317
mov al, byte [esp + 0x12]
test al, al
jne 0x404305
lea eax, [esp + 0x720]
push eax
call fcn.00404910
add esp, 4
test eax, eax
je 0x4042e9
lea ecx, [esp + 0x1cc]
push ecx
call fcn.00404b10
add esp, 4
lea edx, [esp + 0x418]
push edx
call fcn.00404b10
add esp, 4
lea eax, [esp + 0xc8]
push eax
call fcn.00404b10
add esp, 4
lea ecx, [esp + 0x2d0]
push ecx
call fcn.00404b10
add esp, 4
lea edx, [esp + 0x51c]
push edx
call fcn.00404b10
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1738], 0xffffffff
call fcn.00405740
or eax, 0xffffffff
jmp 0x40469c
mov al, byte [esp + 0x13]
test al, al
jne 0x404305
push 0x30
push str.Information
push str.A_DLL_that_is_currently_in_use_needs_to_be_updated._Rebooting_after_this_installation_is_completed_is_highly_recommended.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x2d0]
push eax
call fcn.00404b10
add esp, 4
jmp 0x404362
lea ecx, [esp + 0x2d0]
push ecx
call fcn.00404b10
add esp, 4
test eax, eax
jne 0x404362
lea edx, [esp + 0x2d0]
lea eax, [esp + 0xe30]
push edx
push str.Unable_to_delete_copy_of__s__please_delete_it_manually_
push eax
call fcn.00406840
add esp, 0xc
lea ecx, [esp + 0x1030]
lea edx, [esp + 0xe30]
push 0x30
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x3d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x4043db
mov al, byte [esp + 0x12]
cmp al, 1
je 0x4046b7
test al, al
jne 0x404395
or ebx, 0xffffffff
cmp esi, ebx
jne 0x4046ba
jmp 0x404398
or ebx, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x94], ecx
test ecx, ecx
mov eax, ebx
je 0x4043de
push 0xafc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x4043de
cmp eax, ebx
je 0x4043de
cmp eax, 0x102
je 0x4043de
lea eax, [esp + 0x418]
push eax
call fcn.00404b10
add esp, 4
jmp 0x4043de
or ebx, 0xffffffff
mov al, byte [esp + 0x12]
test al, al
jne 0x404451
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
test eax, eax
je 0x404451
test esi, esi
je 0x404451
test edi, edi
jle 0x404451
push eax
lea ecx, [esp + 0x1334]
push str.SoftwareTimeSink__Inc.AdGatewayChannels_s
push ecx
call fcn.00406840
add esp, 0xc
lea edx, [esp + 0x1330]
push 3
push edi
push esi
push str.ChannelID
push edx
push 0x80000002
call fcn.00402f70
add esp, 0x18
test al, al
jne 0x404451
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x1030]
push 0x30
push eax
push str.Unable_to_insert_channel_credentials
push 0
call edi
jmp 0x404457
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov al, byte [esp + 0x12]
test al, al
jne 0x404643
mov eax, dword [esp + 0x6c]
test eax, eax
jbe 0x40448f
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404b50
add esp, 4
test al, al
jne 0x40448f
lea edx, [esp + 0x1030]
push 0x30
push edx
push str.Unable_to_install_preloaded_advertising
push 0
call edi
mov al, byte [esp + 0x12]
test al, al
jne 0x404643
test byte [esp + 0x14], 2
jne 0x4044dc
test ebp, ebp
jne 0x4044dc
lea eax, [esp + 0x51c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40468a
push str.OpenSimpleReg
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4044d5
push ebp
push esi
call eax
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [esp + 0x12]
test al, al
jne 0x404643
test ebp, ebp
jne 0x40457a
lea ecx, [esp + 0x7c]
push ecx
call fcn.00402a50
mov cl, byte [esp + 0x18]
add esp, 4
test cl, 1
je 0x404538
cmp eax, ebx
jne 0x40457a
lea edx, [esp + 0x7c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
push edx
jmp 0x404572
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
push 0x4022f0
push 0
lea eax, [esp + 0x88]
push 0x65
push 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x40457a
lea eax, [esp + 0x7c]
push eax
call fcn.00402700
add esp, 4
mov al, byte [esp + 0x12]
test al, al
jne 0x404643
lea ecx, [esp + 0x1230]
lea edx, [esp + 0xc8]
push ecx
push 0
push 0
push 0
push edx
call fcn.00406900
add esp, 0x14
lea eax, [esp + 0x1230]
push str..exe
push eax
call fcn.00406770
add esp, 8
test eax, eax
jne 0x404609
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3d4]
push ecx
lea eax, [esp + 0xd34]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xe8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404643
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x404643
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc8]
push edx
push eax
lea ecx, [esp + 0xe38]
push str.The__s_software_distribution_has_been_extracted_to_file___s_
push ecx
call fcn.00406840
add esp, 0x10
lea edx, [esp + 0x1530]
lea eax, [esp + 0xe30]
push 0x40
push edx
push eax
push 0
call edi
jmp 0x404653
lea ecx, [esp + 0xc8]
push ecx
call fcn.00404b10
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.004057d0
lea ecx, [esp + 0x2c]
call fcn.00405860
cmp byte [esp + 0x12], 1
jne 0x40467c
lea edx, [esp + 0x720]
push edx
call fcn.00404b10
add esp, 4
lea eax, [esp + 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1738], ebx
call fcn.00405740
xor eax, eax
mov ecx, dword [esp + 0x1730]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x172c
ret 0x10
or ebx, 0xffffffff
lea ecx, [esp + 0x94]
lea edx, [esp + 0x3d4]
push ecx
lea eax, [esp + 0xd34]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x438]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404398
mov edx, dword [esp + 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x94]
jmp 0x4043a1