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

Disassembly:
push 0xffffffffffffffff
push 0x4a3924
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x66
mov dword [esp + 0x20], esi
call fcn.004a105a
xor ebx, ebx
push ebx
lea ecx, [esi + 0x74]
mov dword [esp + 0x38], ebx
mov dword [esi], 0x4ae328
call fcn.0041f860
lea ebp, [esi + 0x154]
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x158]
mov byte [esp + 0x34], 2
call fcn.0042c650
lea edi, [esi + 0x39c]
mov ecx, edi
mov byte [esp + 0x34], 3
call fcn.004a11ce
mov dword [edi], 0x4b3bb8
mov dword [esi + 0x4b8], ebx
lea ecx, [esi + 0x4c4]
mov dword [esi + 0x4bc], ebx
mov dword [esi + 0x4c0], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x4c8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x4cc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x4d0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov dword [esi + 0x4e0], 0x4ada74
mov dword [esi + 0x4ec], ebx
mov dword [esi + 0x4f0], ebx
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x4f4], ebx
mov dword [esi + 0x4f8], 0xa
lea ecx, [esi + 0x4fc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x4acbb2
lea ecx, [esi + 0x550]
mov byte [esp + 0x38], 0xa
mov dword [esi + 0x548], ebx
mov dword [esi + 0x54c], ebx
call dword [0x4ab700]
lea edi, [esi + 0x558]
mov ecx, edi
mov byte [esi + 0x554], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x8c
mov byte [esp + 0x38], 0xc
mov dword [esi + 0x560], 0xffffffff
mov byte [esi + 0x564], bl
mov byte [esi + 0x565], bl
mov dword [esi + 0x568], ebx
mov dword [esi + 0x56c], ebx
mov dword [esi + 0x570], ebx
mov byte [esi + 0x574], bl
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x34], 0xd
je 0x410186
push esi
mov ecx, eax
call fcn.00438b10
jmp 0x410188
xor eax, eax
push ebx
push ebx
push ebx
mov ecx, eax
mov byte [esp + 0x40], 0xc
mov dword [esi + 0x548], eax
call sub.MFC71.DLL_CWinThread::CreateThread
push str.codec.zip
lea ecx, [esp + 0x18]
push 0x4cbdc0
push ecx
call fcn.004010a0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x38], 0xe
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, 0x4cc840
call fcn.0042c9f0
test eax, eax
je 0x4101ed
push 0xaa
push 0xe
push 0xaa
jmp 0x4101f9
push 0x83
push 0xe
push 0x83
call sub.MFC71.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push str.configconfig.ini
lea edx, [esp + 0x14]
push 0x4cbdc0
push edx
mov dword [esi + 0x15c], eax
call fcn.004010a0
add esp, 0xc
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0xf
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
test eax, eax
je 0x4102b4
push str.config_
lea eax, [esp + 0x18]
push 0x4cbdc0
push eax
call fcn.004010a0
add esp, 0xc
push ebx
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call fcn.004a1282
push ebx
push 0x1002
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0x10
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x28]
call sub.MFC71.DLL_CFile::Open
test eax, eax
je 0x4102a6
lea ecx, [esp + 0x1c]
call sub.MFC71.DLL_CFile::Close
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0xf
call sub.MFC71.DLL_CFile::CFile
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esi + 0x55c], 0xe10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esi + 0x158]
call fcn.0042c660
push 0xd4
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x34], 0x11
je 0x4102fe
mov ecx, eax
call fcn.00405b50
jmp 0x410300
xor eax, eax
mov byte [esp + 0x34], 0xf
mov dword [esi + 0x160], eax
mov dword [esi + 0x168], ebx
mov dword [esi + 0x164], ebx
call fcn.004391f0
mov dword [esi + 0x184], eax
xor eax, eax
mov dword [esi + 0x28c], ebx
mov ecx, 0x41
lea edi, [esi + 0x188]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esi + 0x290]
rep stosd dword es:[edi], eax
mov edi, 1
push 0x4acbb2
mov ecx, ebp
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push 0x104
lea eax, [esi + 0x3b0]
push eax
mov dword [esi + 0x394], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x508], edi
mov dword [esi + 0x50c], ebx
mov dword [esi + 0x520], ebx
mov dword [esi + 0x510], 0x400
mov dword [esi + 0x514], ebx
mov dword [esi + 0x51c], 0x12c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push eax
push 0x66
mov ecx, esi
mov dword [esi + 0x4b4], ebx
mov dword [esi + 0x524], edi
mov dword [esi + 0x540], ebx
mov dword [esi + 0x4d4], ebx
mov dword [esi + 0x4d8], ebx
mov dword [esi + 0x4dc], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x528], ebx
mov dword [esi + 0x544], ebx
call dword [edx + 0x13c]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4