Function at 0x404340
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40c0fd
push eax
mov dword fs:[0], esp
sub esp, 0x440
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 0x4116f8
lea ebx, [ebp + 0xd0]
mov dword [ebp + 0x114], 1
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x144]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x248]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34c]
lea edx, [esp + 0x248]
rep stosd dword es:[edi], eax
push 3
lea eax, [esp + 0x350]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edi, str.Program_Files
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x34c]
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 + 0x40]
and ecx, 3
push 0xa0000
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov edi, dword [0x411e78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
xor edi, edi
mov ecx, dword [ebp + 0xb0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0x401
push ecx
call esi
mov edx, dword [ebp + 0xb0]
push edi
push 1
push 0x402
push edx
call esi
push 0x4116d4
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea eax, [esp + 0x40]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, edi
jne 0x4044bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4044bc
push edi
push edi
push 0x4116b4
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp + 0x114], edi
jmp 0x404f18
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp + 0xb0]
push edi
push 2
push 0x402
push ecx
mov dword [esp + 0x468], edi
call esi
push 0x4116a4
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x411698
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x96
push 0x411694
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 3
push 0x402
push ecx
mov edi, eax
call esi
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x411688
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x8a
push 0x411694
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 3
push 0x402
push ecx
mov dword [esp + 0x3c], eax
call esi
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push str._resdll.dll
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x211
push 0x411694
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 3
push 0x402
push ecx
call esi
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x41166c
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
push eax
push 0x12d
push 0x411694
mov ecx, ebp
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 4
push 0x402
push ecx
call esi
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x41165c
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x122
push 0x411694
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 4
push 0x402
push ecx
call esi
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x411650
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x104
push 0x411694
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 4
push 0x402
push ecx
call esi
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push str.SogouIME.exe
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x133
push 0x41164c
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 4
push 0x402
push ecx
call esi
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x41163c
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x8b
push 0x411694
call fcn.00404f40
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0xb0]
push 0
push 5
push 0x402
push ecx
call esi
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push str.Driversctrl2cap.sys
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x88
push 0x411620
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 6
push 0x402
push ecx
mov dword [esp + 0x48], eax
call esi
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push str.Drivers_blockp.sys
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x1fd
push 0x411620
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 6
push 0x402
push ecx
mov dword [esp + 0x30], eax
call esi
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push str._barclient.exe
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x94
push 0x41164c
call fcn.00404f40
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], eax
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str._barrms.exe
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
push 0x8d
push 0x41164c
call fcn.00404f40
mov dword [esp + 0x24], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str._bargames.exe
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov ecx, dword [esp + 0x10]
push ecx
push 0x8e
push 0x41164c
mov ecx, ebp
call fcn.00404f40
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::operator_1
push str._barads.exe
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push 0x123
push 0x41164c
call fcn.00404f40
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], eax
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str.images
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x45c], 1
call sub.MFC42.DLL_CString::operator
push str.xcx_01.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov ecx, dword [esp + 0x14]
push ecx
push 0xad
push 0x4115cc
mov ecx, ebp
call fcn.00404f40
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
push str.xcx_02.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov eax, dword [esp + 0x14]
mov ecx, ebp
push eax
push 0xaf
push 0x4115cc
call fcn.00404f40
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.xcx_03.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0xb0
push 0x4115cc
call fcn.00404f40
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator
push str.xcx_04.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov ecx, dword [esp + 0x14]
push ecx
push 0xb1
push 0x4115cc
mov ecx, ebp
call fcn.00404f40
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
push str.xcx_05.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov eax, dword [esp + 0x14]
mov ecx, ebp
push eax
push 0xb2
push 0x4115cc
call fcn.00404f40
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.xcx_06.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0xb3
push 0x4115cc
call fcn.00404f40
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator
push str.xcx_07.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov ecx, dword [esp + 0x14]
push ecx
push 0xb4
push 0x4115cc
mov ecx, ebp
call fcn.00404f40
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
push str.xcx_08.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov eax, dword [esp + 0x14]
mov ecx, ebp
push eax
push 0xb5
push 0x4115cc
call fcn.00404f40
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.xcx_09.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0xb6
push 0x4115cc
call fcn.00404f40
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator
push str.xcx_10.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov ecx, dword [esp + 0x14]
push ecx
push 0xb7
push 0x4115cc
mov ecx, ebp
call fcn.00404f40
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
push str._sep.gif
lea ecx, [esp + 0x18]
call fcn.0040b49e
mov eax, dword [esp + 0x14]
mov ecx, ebp
push eax
push 0xae
push 0x4115cc
call fcn.00404f40
mov ecx, dword [ebp + 0xb0]
push 0
push 7
push 0x402
push ecx
call esi
test edi, edi
je 0x404e7e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x24]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x404e7e
push 0x411544
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, ebp
call fcn.004051f0
mov edi, eax
test edi, edi
jg 0x404bc3
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push edi
lea edx, [esp + 0x20]
push 0x411528
push edx
mov byte [esp + 0x464], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x28]
add esp, 0xc
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [esp + 0x458], 1
lea ecx, [esp + 0x1c]
jmp 0x404ee4
mov ecx, ebp
call fcn.00405120
mov edi, eax
test edi, edi
jg 0x404c13
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push edi
lea ecx, [esp + 0x20]
push 0x41150c
push ecx
mov byte [esp + 0x464], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox
mov byte [esp + 0x458], 1
lea ecx, [esp + 0x1c]
jmp 0x404ee4
mov eax, dword [ebp + 0xb0]
push 0
push 8
push 0x402
push eax
call esi
push 0x4114f8
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str._barclient.exe
lea ecx, [esp + 0x14]
call fcn.0040b49e
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00405440
test eax, eax
jne 0x404c69
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00405500
mov ecx, dword [ebp + 0xb0]
xor edi, edi
push edi
push 9
push 0x402
push ecx
call esi
mov dword [esp + 0x18], edi
push 0x4112dc
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 5
call fcn.00409dd0
test eax, eax
je 0x404d79
cmp dword [0x411ed8], edi
je 0x404cd2
push 1
mov ecx, ebp
call fcn.00405710
push edi
push str.AllowMultipleTSSessions
lea ecx, [esp + 0x20]
call fcn.00409ea0
push edi
push str.LogonType
lea ecx, [esp + 0x20]
call fcn.00409ea0
cmp dword [0x411ec0], edi
je 0x404d4d
mov edx, dword [0x411e94]
lea ecx, [esp + 0x18]
push edx
push str.DefaultUserName
call fcn.00409e50
mov eax, dword [0x411e90]
cmp dword [eax - 8], edi
je 0x404d0a
push eax
push str.DefaultPassword
lea ecx, [esp + 0x20]
call fcn.00409e50
jmp 0x404d18
push str.DefaultPassword
lea ecx, [esp + 0x1c]
call fcn.00409f70
mov eax, dword [0x411e8c]
cmp dword [eax - 8], edi
je 0x404d38
push eax
push str.DefaultDomainName
lea ecx, [esp + 0x20]
call fcn.00409e50
push 0x4114d0
jmp 0x404d52
push str.DefaultDomainName
lea ecx, [esp + 0x1c]
call fcn.00409f70
push 0x4114d0
jmp 0x404d52
push 0x4114cc
push str.AutoAdminLogon
lea ecx, [esp + 0x20]
call fcn.00409e50
push 1
push str.Disablecad
lea ecx, [esp + 0x20]
call fcn.00409ea0
lea ecx, [esp + 0x18]
call fcn.00409f90
push str.control_panelDesktop
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x20]
call fcn.00409dd0
test eax, eax
je 0x404dfd
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
push 0x4114a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x45c], 6
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push str.WaitToKillAppTimeout
call fcn.00409e50
push 0x4114d0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x20]
push ecx
push str.AutoEndTasks
lea ecx, [esp + 0x20]
call fcn.00409e50
lea ecx, [esp + 0x18]
call fcn.00409f90
lea ecx, [esp + 0x20]
mov byte [esp + 0x458], 5
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.004055f0
mov ecx, ebp
call fcn.00405680
mov ecx, ebp
call fcn.004066b0
mov edx, dword [ebp + 0xb0]
push edi
push 0xa
push 0x402
push edx
call esi
push 0x411470
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
mov dword [0x411ee0], 1
mov byte [esp + 0x458], 1
call fcn.00409f90
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edi
mov byte [esp + 0x458], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x458], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov dword [ebp + 0x114], edi
jmp 0x404f18
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push edi
lea edx, [esp + 0x40]
push 0x411430
push edx
mov byte [esp + 0x484], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x48]
add esp, 0x2c
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [esp + 0x458], 1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x458], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x458], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov dword [ebp + 0x114], 0
mov ecx, dword [esp + 0x450]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44c
ret