Function at 0x403600
Capabilities:
Create directory
Create process on windows
Delete file
Delete registry key
Get common file path
Resolve function by parsing pe exports
Schedule task via at
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x40935c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xadc
push ebx
push ebp
push esi
push edi
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_2
push 0x40
lea eax, [esp + 0x308]
push 4
mov ebp, ecx
push eax
call fcn.00408bf6
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_2
push 0x40
lea ecx, [esp + 0x408]
xor esi, esi
push 4
push ecx
mov dword [esp + 0xb08], esi
call fcn.00408bf6
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_2
push 0x40
lea edx, [esp + 0x208]
push 4
push edx
mov byte [esp + 0xb08], 1
call fcn.00408bf6
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb4]
lea edx, [esp + 0x3fc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x2fc]
lea ecx, [esp + 0x1fc]
push eax
push ecx
lea eax, [esp + 0xbc]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0xb04], 2
call fcn.004049d0
mov ebx, eax
cmp ebx, esi
je 0x403e58
cmp ebx, 0x40
jg 0x403e58
lea ecx, [esp + 0x2fc]
push ebx
lea edx, [esp + 0x200]
push ecx
lea eax, [esp + 0x404]
push edx
lea ecx, [esp + 0xc0]
push eax
push ecx
mov ecx, dword [ebp + 0x7c]
call fcn.00408700
mov dx, word [ebp + 0x194]
mov word [esp + 0x20], dx
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x7c]
add eax, 0x74
push str.update_
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x28]
push esi
push edx
mov byte [esp + 0xafc], 4
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0xaf4], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0xaf4], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0xaf4], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0xbb
xor eax, eax
lea edi, [esp + 0x600]
mov byte [esp + 0xaf4], 8
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x7c]
lea eax, [esp + 0x10]
push eax
call fcn.00407bb0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xaf8], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xaf4], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 8], esi
jne 0x4037de
push str.http:__172.16.10.105:8000_myfirewall_arc_myv3_
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x600]
push edx
push eax
call esi
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x700]
push ecx
push edx
call esi
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x720]
push eax
push ecx
call esi
push str.SoftwareAhnlabAutoupTemporarySettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x14]
call fcn.00402a60
inc ebx
lea edx, [esp + 0xb4]
push ebx
push edx
push str.UpdateProduct
push str.SoftwareAhnlabAutoupTemporarySettings
push 0x80000001
lea ecx, [esp + 0x28]
mov byte [esp + 0xb08], 0xa
call fcn.00402d20
push 6
push str.UpdateFileType
push str.SoftwareAhnlabAutoupTemporarySettings
push 0x80000001
lea ecx, [esp + 0x24]
call fcn.00402bb0
mov eax, dword [ebp + 0x7c]
push str.netscape
mov eax, dword [eax + 0x78]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4038c2
push 1
push str.Netscape
push str.SOFTWAREAHNLABIOU
push 0x80000001
lea ecx, [esp + 0x24]
call fcn.00402bb0
lea ecx, [esp + 0xb4]
push ebx
push ecx
push str.ServiceCode
push str.SOFTWAREAHNLABIOU
push 0x80000001
lea ecx, [esp + 0x28]
call fcn.00402d20
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp + 0x70]
push eax
lea eax, [esp + 0x748]
push eax
mov dword [esp + 0x748], edx
call esi
mov eax, dword [ebp + 0x74]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esp + 0x764], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xf8]
push 0x103
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xf8]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x4fc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0xf8]
push ecx
call ebx
mov edi, str._ahnupex.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf8]
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 eax, [esp + 0xf8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.AhnUp_DoIt
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4039d3
lea ecx, [esp + 0x600]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
push 0x404750
push edx
mov edx, dword [esp + 0x28]
push 2
push ecx
mov ecx, dword [esp + 0x38]
push 0
push edx
push ecx
lea edx, [esp + 0xd8]
push 6
push edx
push 0
call eax
mov edi, eax
add esp, 0x30
mov dword [esp + 0x10], edi
jmp 0x4039d7
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0x80]
test ecx, ecx
je 0x4039ef
push 2
call sub.MFC42.DLL_CDialog::EndDialog
lea eax, [esp + 0x4fc]
push eax
call ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x7c]
push str.update_
add ecx, 0x74
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0xb00], 0xb
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xaf8], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0xaf4], 0xb
call sub.MFC42.DLL_CString::CString
cmp edi, 0xffffffff
je 0x403cd7
test edi, edi
je 0x403ba3
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xf8]
push 0x103
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xf8]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x4fc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xf8]
push ecx
call ebx
mov edi, str._ahnupex.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf8]
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 eax, [esp + 0xf8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.AhnUp_GetErrorMessage
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403b0d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x8ec]
push 0x200
push ecx
push edx
push 0
call eax
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x4fc]
push eax
call ebx
push ebp
lea ecx, [esp + 0x54]
call fcn.004015b0
push 5
lea ecx, [esp + 0xb4]
mov byte [esp + 0xaf8], 0xf
call sub.MFC42.DLL_CString::LoadStringA
push 0x40f358
lea ecx, [esp + 0xb4]
call fcn.004088fe
lea ecx, [esp + 0x8ec]
push ecx
lea ecx, [esp + 0xb4]
call fcn.004088fe
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CDialog::DoModal
mov edx, dword [0x40fb58]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0xb0]
mov byte [esp + 0xaf4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0xaf4], 0xb
call fcn.004088b6
jmp 0x403d1d
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x403cc4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x50], 0x44
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push ecx
lea edx, [esp + 0x1c]
mov bl, 0xd
mov dword [esp + 0x4c], eax
push str._sautoup.exe__ascr
push edx
mov byte [esp + 0xb00], bl
mov dword [esp + 0x88], 1
mov word [esp + 0x8c], 7
mov dword [esp + 0x58], eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403c8b
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 1
push eax
mov byte [esp + 0xb00], 0xe
call sub.MFC42.DLL_CString::FormatMessageA
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
mov byte [esp + 0xaf4], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
push eax
call esi
cmp dword [esp + 0x20], 0x103
jne 0x403cb3
push 0x64
call edi
jmp 0x403c97
lea ecx, [esp + 0x18]
mov byte [esp + 0xaf4], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x40fb58]
mov dword [0x40fb50], 1
push ecx
jmp 0x403d17
mov edx, dword [ebp + 0x64]
lea eax, [ebp + 0x64]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x403d06
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x40fb58]
mov dword [0x40fb50], 1
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 0x7c]
push str.netscape
mov eax, dword [eax + 0x78]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x403d66
push str.Netscape
push str.SOFTWAREAHNLABIOU
push 0x80000001
lea ecx, [esp + 0x20]
call fcn.00402d70
push str.ServiceCode
push str.SOFTWAREAHNLABIOU
push 0x80000001
lea ecx, [esp + 0x20]
call fcn.00402d70
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403d84
test byte [ebp + 0x28], 0x18
je 0x403d84
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x7c]
lea ecx, [esp + 0x24]
mov byte [esp + 0xaf4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xaf4], 8
call fcn.00402a90
lea ecx, [esp + 0x3c]
mov byte [esp + 0xaf4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xaf4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xaf4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xaf4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xaf4], 2
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0x40
lea eax, [esp + 0x204]
push 4
push eax
mov byte [esp + 0xb04], 1
call fcn.00408b02
push sub.MFC42.DLL_CString::CString
push 0x40
lea ecx, [esp + 0x404]
push 4
push ecx
mov byte [esp + 0xb04], 0
call fcn.00408b02
push sub.MFC42.DLL_CString::CString
push 0x40
lea edx, [esp + 0x304]
push 4
mov dword [esp + 0xb00], 0xffffffff
push edx
jmp 0x403ef6
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0xb
lea ecx, [esp + 0x14]
mov byte [esp + 0xaf8], 3
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x10]
push esi
push esi
push eax
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [0x40fb58]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x10]
mov byte [esp + 0xaf4], 2
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0x40
lea edx, [esp + 0x204]
push 4
push edx
mov byte [esp + 0xb04], 1
call fcn.00408b02
push sub.MFC42.DLL_CString::CString
push 0x40
lea eax, [esp + 0x404]
push 4
push eax
mov byte [esp + 0xb04], 0
call fcn.00408b02
push sub.MFC42.DLL_CString::CString
push 0x40
lea ecx, [esp + 0x304]
push 4
mov dword [esp + 0xb00], 0xffffffff
push ecx
call fcn.00408b02
mov ecx, dword [esp + 0xaec]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xae8
ret