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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b0
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x474128
push 0x474000
push 0x474024
push 0x474010
push 0x4740fc
push 0x473ffc
push 0x474024
push str.abcdefghijklmnopqrstuvwxyz:_._____:_._____ABCDEFGHIJKLMNOPQRSTUVWXYZ
push 0x474020
push 0x474020
push 0x474028
push 0x4740d8
push 0x47403c
push 0x474000
push 0x4740e8
xor ecx, ecx
lea eax, [ebp - 0x310]
push str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
push eax
mov dword [ebp - 0x9a4], ecx
xor edi, edi
mov dword [ebp - 0x99c], ecx
mov dword [ebp - 0x9ac], ecx
call fcn.00413aa0
add esp, 0x44
lea eax, [ebp - 0x310]
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jle 0x41392a
push ebx
lea ebx, [esi + 1]
push ebx
call fcn.0042a219
add esp, 4
mov dword [ebp - 0x9a8], eax
test eax, eax
je 0x413917
push ebx
push edi
push eax
call fcn.0042e710
mov ebx, dword [ebp - 0x9a8]
lea eax, [ebp - 0x310]
add esp, 0xc
push edi
push edi
push esi
push ebx
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x998], esi
test esi, esi
je 0x413513
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
test eax, eax
je 0x41350d
call eax
mov ebx, eax
test ebx, ebx
je 0x41350d
push 0x474128
push 0x474044
push 0x474008
push 0x474034
push 0x4740d0
push 0x474028
push 0x47411c
push 0x474000
push 0x474024
push 0x474010
push 0x4740fc
push 0x473ffc
push 0x474024
push str.abcdefghijklmnopqrstuvwxyz:_._____:_._____ABCDEFGHIJKLMNOPQRSTUVWXYZ
push 0x474020
push 0x474020
push 0x474028
push 0x4740d8
lea eax, [ebp - 0x990]
push 0x447d68
push eax
call fcn.00413aa0
add esp, 0x50
lea ecx, [ebp - 0x990]
call fcn.00423750
mov dword [ebp - 0x9a4], eax
test eax, eax
je 0x41350d
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x9ac], eax
test eax, eax
je 0x41350d
mov ecx, dword [ebp - 0x9a4]
push ecx
push eax
call esi
test eax, eax
je 0x41350d
lea ecx, [ebp - 0x994]
mov dword [ebp - 0x994], edi
push ecx
push ebx
call eax
mov ebx, eax
mov byte [ebp - 0x890], 0
push 0x57f
lea eax, [ebp - 0x88f]
mov dword [ebp - 0x9b0], ebx
push edi
push eax
call fcn.0042e710
add esp, 0xc
xor esi, esi
jmp 0x4134d0
lea edx, [esi + str.L3RsYWNsdA]
mov ecx, edx
lea edi, [ecx + 1]
jmp 0x4134e0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4134e0
sub ecx, edi
lea eax, [ebp - 0x890]
push ecx
push edx
add eax, esi
push eax
call fcn.00402650
sub esi, 0xffffff80
cmp esi, 0x580
jl 0x4134d0
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x413588
xor edi, edi
mov esi, dword [ebp - 0x998]
xor ebx, ebx
push dword [ebp - 0x9a8]
call fcn.0042a1e1
add esp, 4
test edi, edi
je 0x413530
push edi
call fcn.0042a1e1
add esp, 4
mov eax, dword [ebp - 0x9a4]
test eax, eax
je 0x413543
push eax
call fcn.0042a1e1
add esp, 4
mov eax, dword [ebp - 0x99c]
test eax, eax
je 0x413556
push eax
call fcn.0042a534
add esp, 4
test esi, esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x413568
push dword [ebp - 0x998]
call esi
mov eax, dword [ebp - 0x9ac]
test eax, eax
je 0x413575
push eax
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
call fcn.00423750
mov edi, eax
test edi, edi
je 0x41350d
mov eax, dword [ebp - 0x994]
cmp eax, 4
jne 0x4135f7
lea eax, [ebp - 0x510]
push eax
push edi
call fcn.0042beb3
add esp, 8
test eax, eax
jne 0x4136a7
mov esi, dword [0x475d70]
test esi, esi
je 0x413907
push dword [ebx + 0xc]
mov esi, dword [esi]
call fcn.0042c0fd
mov ecx, dword [0x475d70]
add esp, 4
push eax
push dword [ebx + 8]
push dword [0x475d84]
call dword [esi]
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
cmp eax, 3
jne 0x4136bc
lea eax, [ebp - 0x490]
push eax
push edi
call fcn.0042beb3
add esp, 8
test eax, eax
jne 0x41362c
mov ecx, dword [ebx + 8]
call fcn.004131c0
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
lea eax, [ebp - 0x810]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4136a7
mov esi, dword [0x475d84]
xor ebx, ebx
push 0x447c54
push 0x12d
push esi
mov dword [ebp - 0x99c], ebx
mov dword [ebp - 0x9a0], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x413682
push eax
lea eax, [ebp - 0x9a0]
mov ecx, esi
push eax
call fcn.00424750
mov ebx, dword [ebp - 0x9a0]
mov dword [ebp - 0x99c], ebx
mov ecx, dword [ebp - 0x9b0]
mov edx, eax
push dword [ecx + 8]
mov ecx, ebx
call fcn.00412830
mov esi, dword [ebp - 0x998]
add esp, 4
mov ebx, 1
jmp 0x413515
call fcn.00413200
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
cmp eax, 2
jne 0x41350d
mov esi, dword [0x475d84]
xor eax, eax
push 0x447c54
push 0x12d
push esi
mov dword [ebp - 0x99c], eax
mov dword [ebp - 0x9a0], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4136f2
xor ebx, ebx
jmp 0x41370f
push eax
lea eax, [ebp - 0x9a0]
mov ecx, esi
push eax
call fcn.00424750
mov ebx, eax
mov eax, dword [ebp - 0x9a0]
mov dword [ebp - 0x99c], eax
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea eax, [ebp - 0x890]
push eax
push edi
call esi
test eax, eax
je 0x413732
mov dword [0x475d88], 1
jmp 0x41350d
lea eax, [ebp - 0x790]
push eax
push edi
call esi
test eax, eax
je 0x41375d
mov ecx, dword [ebp - 0x99c]
mov edx, ebx
call fcn.00412890
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
lea eax, [ebp - 0x710]
push eax
push edi
call esi
test eax, eax
je 0x4137a6
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0xb
push 0
push eax
call fcn.0042e710
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.00420060
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
lea eax, [ebp - 0x690]
push eax
push edi
call esi
test eax, eax
je 0x4137dd
mov dword [0x475d6c], 1
call fcn.004230e0
test al, al
jne 0x41350d
call fcn.00424670
test al, al
je 0x413907
jmp 0x41350d
lea eax, [ebp - 0x610]
push eax
push edi
call esi
test eax, eax
je 0x4138a2
call fcn.00413220
call fcn.00422ad0
test eax, eax
je 0x413907
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042e710
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x443cc8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042a175
push str.4177GameBox_Data
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042a175
push 0x443cc8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042a175
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00424220
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
lea eax, [ebp - 0x590]
push eax
push edi
call esi
test eax, eax
je 0x4138cd
mov ecx, dword [ebp - 0x99c]
mov edx, ebx
call fcn.004128e0
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
lea eax, [ebp - 0x410]
push eax
push edi
call esi
test eax, eax
je 0x4138f0
call fcn.004130a0
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
lea eax, [ebp - 0x390]
push eax
push edi
call esi
test eax, eax
je 0x41350d
call fcn.00413130
mov esi, dword [ebp - 0x998]
mov ebx, 1
jmp 0x413515
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00429eaf
mov esp, ebp
pop ebp
ret