Function at 0x403570
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x413377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x4161e8]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00401140
mov cx, word [0x43244c]
xor eax, eax
mov word [esp + 0x40], cx
mov ecx, 0xff
lea edi, [esp + 0x42]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
push edx
push 0x400
mov dword [esp + 0x450], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x24]
push eax
call fcn.00401140
lea ecx, [esp + 0x28]
mov byte [esp + 0x448], 1
push ecx
call fcn.00403410
add esp, 4
push 0x41b12c
lea ecx, [esp + 0x28]
mov byte [esp + 0x44c], 2
call fcn.004012a0
push 0x41b12c
lea ecx, [esp + 0x2c]
call fcn.004012a0
push 0x41b12c
push 0x41b128
lea ecx, [esp + 0x2c]
call fcn.00401390
push 0x41b12c
push 0x41b128
lea ecx, [esp + 0x30]
call fcn.00401390
lea ecx, [esp + 0x24]
call fcn.00401370
lea ecx, [esp + 0x28]
call fcn.00401370
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
push edx
push 0x41b12c
push eax
call fcn.00406f10
push str..ini
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x454], 3
call fcn.00406e70
mov esi, eax
lea edx, [esp + 0x38]
mov byte [esp + 0x448], 4
push edx
call fcn.00403410
add esp, 4
push esi
mov ecx, eax
mov byte [esp + 0x44c], 5
call fcn.00401280
push eax
lea ecx, [esp + 0x20]
call fcn.004010f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x448], 9
call fcn.00401b90
lea ecx, [esp + 0x34]
mov byte [esp + 0x448], 8
call fcn.00401b90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x448], 7
call fcn.00401b90
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push 0x432008
call esi
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004015c0
test eax, eax
je 0x40396c
push 0x41e284
lea ecx, [esp + 0x14]
call fcn.00401140
mov ecx, 0x42f850
mov byte [esp + 0x448], 0xa
call fcn.004011b0
cmp eax, 3
jle 0x40373d
push 0x42f850
lea ecx, [esp + 0x14]
call fcn.004011e0
mov ecx, 0x42f84c
call fcn.004011b0
cmp eax, 3
jle 0x40375a
push 0x42f84c
lea ecx, [esp + 0x14]
call fcn.004011e0
mov ecx, 0x42f84c
call fcn.004011b0
cmp eax, 3
jle 0x403829
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.004010f0
lea eax, [esp + 0x14]
mov byte [esp + 0x448], 0xb
push eax
call fcn.00403410
add esp, 4
push 0x41b12c
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x454], 0xc
call fcn.00406e70
lea edx, [esp + 0xc]
mov bl, 0xd
push edx
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x450], bl
push eax
call fcn.00406dd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44c], 0xe
call fcn.004011e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x448], bl
call fcn.00401b90
lea ecx, [esp + 0x30]
mov byte [esp + 0x448], 0xc
call fcn.00401b90
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], 0xb
call fcn.00401b90
push 0x41b12c
push 0x41b128
lea ecx, [esp + 0x18]
call fcn.00401390
lea ecx, [esp + 0xc]
mov byte [esp + 0x448], 0xa
call fcn.00401b90
lea ecx, [esp + 0x10]
call fcn.004011b0
cmp eax, 3
jle 0x403b5d
mov ecx, dword [esp + 0x10]
push 0x41b11c
push ecx
call fcn.00403540
add esp, 8
test eax, eax
jne 0x40385f
push str..ini
lea ecx, [esp + 0x14]
call fcn.004012a0
mov edx, dword [esp + 0x10]
push edx
push 0x432008
call esi
lea ecx, [esp + 0xc]
call fcn.004010e0
mov bl, 0xf
mov byte [esp + 0x448], bl
call fcn.0040c14c
push eax
lea eax, [esp + 0x10]
push 0x416098
push eax
call fcn.00401610
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004010f0
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44c], 0x10
call fcn.00401ac0
push eax
push str.TestIni
call fcn.004032d0
add esp, 8
lea ecx, [esp + 0xc]
push 0x41e284
call fcn.00401260
push 0x6f
lea ecx, [esp + 0x10]
call fcn.00401ac0
push eax
push str.TestIni
call fcn.00403130
add esp, 8
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
call fcn.00401b50
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.0040c0c5
add esp, 8
test eax, eax
je 0x40393a
push str.ini_Error
lea ecx, [esp + 0x18]
call fcn.00401140
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
call fcn.00401b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x448], bl
call fcn.00401b90
lea ecx, [esp + 0xc]
mov byte [esp + 0x448], 0xa
call fcn.00401b90
mov byte [esp + 0x448], 7
lea ecx, [esp + 0x10]
call fcn.00401b90
lea ecx, [esp + 0xc]
call fcn.004010e0
push 0
mov bl, 0x12
push 0x1a
push 0x400
lea ecx, [esp + 0x18]
mov byte [esp + 0x454], bl
call fcn.00401ac0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00401b50
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push 0x41b12c
push edx
call fcn.00406f10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x44c], 0x13
call fcn.00401280
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], bl
call fcn.00401b90
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
push 0x41b12c
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00406e70
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x454], 0x14
call fcn.00406dd0
push str..ini
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x450], 0x15
push eax
call fcn.00406e70
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44c], 0x16
call fcn.004011e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], 0x15
call fcn.00401b90
lea ecx, [esp + 0x30]
mov byte [esp + 0x448], 0x14
call fcn.00401b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x448], bl
call fcn.00401b90
lea ecx, [esp + 0xc]
mov byte [esp + 0x448], 7
call fcn.00401b90
mov ecx, dword [esp + 0x1c]
push ecx
push 0x432008
call esi
push str.eeee
lea ecx, [esp + 0x24]
call fcn.00401140
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x44c], 0x17
call fcn.00401ac0
push eax
push str.TestIni
call fcn.004032d0
add esp, 8
lea ecx, [esp + 0x20]
push 0x41e284
call fcn.00401260
push 0x6f
lea ecx, [esp + 0x24]
call fcn.00401ac0
push eax
push str.TestIni
call fcn.00403130
add esp, 8
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00401b50
lea ecx, [esp + 0x20]
mov byte [esp + 0x448], 7
call fcn.00401b90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 2
call fcn.00401b90
lea ecx, [esp + 0x28]
mov byte [esp + 0x448], 1
call fcn.00401b90
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 0
call fcn.00401b90
lea ecx, [esp + 0x2c]
mov dword [esp + 0x448], 0xffffffff
call fcn.00401b90
mov ecx, dword [esp + 0x440]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x440
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x448], 7
call fcn.00401b90
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004010f0
call fcn.00403350
add esp, 4
cmp eax, 1
jne 0x40396c
push str.eeee
lea ecx, [esp + 0x10]
call fcn.00401140
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44c], 0x11
call fcn.00401ac0
push eax
push str.TestIni
call fcn.004032d0
add esp, 8
lea ecx, [esp + 0xc]
push 0x41e284
call fcn.00401260
push 0x6f
lea ecx, [esp + 0x10]
call fcn.00401ac0
push eax
push str.TestIni
call fcn.00403130
add esp, 8
lea ecx, [esp + 0xc]
push 0xffffffffffffffff
call fcn.00401b50
mov eax, dword [esp + 0xc]
push str.eeee
push eax
call fcn.0040c0c5
add esp, 8
mov byte [esp + 0x448], 7
test eax, eax
lea ecx, [esp + 0xc]
jne 0x403967
call fcn.00401b90
jmp 0x403a8c