Function at 0x41a6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x421194]
xor eax, ebp
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x2a0]
call fcn.00404dc0
push 0
push str.conjoin.xml
lea ecx, [ebp - 0x2a0]
call fcn.00405ac0
lea ecx, [ebp - 0x2a0]
call fcn.00401440
push eax
lea ecx, [ebp - 0x18]
call fcn.00403370
push str.settings
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.004055d0
lea ecx, [ebp - 0x14]
call fcn.00401520
test eax, eax
je 0x41a8c9
lea ecx, [ebp - 0x2c0]
call fcn.00401650
mov dword [ebp - 0x2a4], 0
mov ecx, 1
test ecx, ecx
je 0x41a8be
mov edx, dword [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404620
lea ecx, [ebp - 0x2e4]
call fcn.00401520
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
jne 0x41a77c
jmp 0x41a8be
mov ecx, dword [ebp - 0x2a4]
add ecx, 1
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp - 0x2e8]
call fcn.00401420
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00401680
mov byte [ebp - 0x2c1], 0
push str.game
lea edx, [ebp - 0x2e0]
push edx
call fcn.00402e90
add esp, 8
movzx eax, al
test eax, eax
je 0x41a81e
lea ecx, [ebp - 0x308]
call fcn.004015d0
lea ecx, [ebp - 0x308]
push ecx
push 0x41e9a4
mov ecx, dword [ebp - 0x2e8]
call fcn.00404ad0
push str.path
mov ecx, dword [ebp - 0x2e8]
call fcn.00404ab0
push eax
lea ecx, [ebp - 0x304]
call fcn.00401720
lea edx, [ebp - 0x308]
push edx
mov ecx, 0x423248
call fcn.004019a0
lea ecx, [ebp - 0x308]
call fcn.00401630
push str.html
lea eax, [ebp - 0x2e0]
push eax
call fcn.00402e90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41a8ae
push 0x423208
push str.width
mov ecx, dword [ebp - 0x2e8]
call fcn.00404ad0
push 0x42320c
push str.height
mov ecx, dword [ebp - 0x2e8]
call fcn.00404ad0
push str.index
mov ecx, dword [ebp - 0x2e8]
call fcn.00404ab0
push eax
mov ecx, 0x423210
call fcn.00401720
push str.title
mov ecx, dword [ebp - 0x2e8]
call fcn.00404ab0
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x41a8ae
mov edx, dword [ebp - 0x30c]
push edx
mov ecx, 0x42322c
call fcn.00401720
lea ecx, [ebp - 0x2e0]
call fcn.00401700
jmp 0x41a73a
lea ecx, [ebp - 0x2c0]
call fcn.00401700
push 0x64
push 0x423170
push 0x6d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041a430
add esp, 4
call fcn.00419b40
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041a0b0
add esp, 8
test eax, eax
jne 0x41a921
mov dword [ebp - 0x310], 0
lea ecx, [ebp - 0x2a0]
call fcn.00401470
mov eax, dword [ebp - 0x310]
jmp 0x41aa83
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebp - 0x1c], eax
push 0x40
call fcn.004093af
add esp, 4
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
je 0x41a95c
mov ecx, dword [ebp - 0x318]
call fcn.00419ea0
mov dword [ebp - 0x320], eax
jmp 0x41a966
mov dword [ebp - 0x320], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x314]
push eax
mov ecx, 0x423204
call fcn.00401850
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [0x423208]
mov dword [ebp - 8], ecx
mov edx, dword [0x42320c]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x4231dc]
push ecx
mov ecx, 0x423204
call fcn.00401830
mov ecx, eax
call fcn.00419b50
lea edx, [ebp - 0x258]
push edx
push 0x200
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x258]
push eax
mov ecx, 0x4231e8
call fcn.00401720
push 0x41e9d8
mov ecx, 0x4231e8
call fcn.00401740
push 0x41e9dc
push 0x4231e8
lea ecx, [ebp - 0x58]
push ecx
call fcn.00402d70
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00401760
push eax
mov ecx, 0x423204
call fcn.00401830
mov ecx, eax
call fcn.00419f80
push 0
push 0
push 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x41aa61
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_TranslateAccelerator]
test eax, eax
jne 0x41aa5f
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x41aa21
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x31c], edx
lea ecx, [ebp - 0x58]
call fcn.00401700
lea ecx, [ebp - 0x2a0]
call fcn.00401470
mov eax, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.004079e3
mov esp, ebp
pop ebp
ret 0x10