Function at 0x407b40
Capabilities:
Create directory
Get common file path
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e5cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CLIENT_SDK:LogGameStart___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x98]
call fcn.004028e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004028e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004028e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004028e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.004028e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.004028e0
mov byte [ebp - 4], 5
push 0
push 0x1a
push 0x104
lea ecx, [ebp - 0x98]
call fcn.00402a10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x98]
call fcn.00408d40
push str._JJSG
lea ecx, [ebp - 0x98]
call fcn.00401c40
push 0
lea ecx, [ebp - 0x98]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x485d6c
lea ecx, [ebp - 0x98]
call fcn.00401c40
lea ecx, [ebp - 0x98]
call fcn.0041a040
push eax
push 0x100
push 0x100
lea ecx, [ebp - 0x68]
call fcn.00402a10
push eax
push 0x485d80
push 0x485d84
push 0x485d90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x68]
call fcn.00408d40
lea ecx, [ebp - 0x68]
call fcn.00402190
movzx eax, al
test eax, eax
je 0x407cda
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00408580
add esp, 4
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x68]
call fcn.00401c20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.004029a0
lea ecx, [ebp - 0x98]
call fcn.0041a040
push eax
lea ecx, [ebp - 0x68]
call fcn.0041a040
push eax
push 0x485da0
push 0x485dac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x98]
call fcn.0041a040
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x6c]
call fcn.00402a10
push eax
push 0
push str.flashcookie
push 0x485dd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x6c]
call fcn.00408d40
lea ecx, [ebp - 0x6c]
call fcn.00402190
movzx ecx, al
test ecx, ecx
je 0x407d83
lea edx, [ebp - 0xa4]
push edx
call fcn.004077f0
add esp, 4
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00401c20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.004029a0
lea ecx, [ebp - 0x6c]
call fcn.00402190
movzx edx, al
test edx, edx
je 0x407d83
push str.RGtswHbqI_JbFhHyknJ4ga2P87sAmKLwLs6KhOw1uyba4K1D3m8OdixLilYoM65eHlT7yhJ3CA8ovc_khEIsUw00
lea ecx, [ebp - 0x6c]
call fcn.004029f0
lea eax, [ebp - 0xa8]
push eax
call fcn.00408070
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00401c20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa8]
call fcn.004029a0
push 0x2d
lea ecx, [ebp - 0x9c]
call fcn.004087e0
call fcn.00408060
mov dword [ebp - 0x70], eax
push str.aldjboiwjer45634nklj72460987asd1
mov eax, dword [ebp - 0x70]
push eax
push 0x485eac
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x9c]
push eax
push str.559001002
push str._s_s_s_s_s_d_s
lea ecx, [ebp - 0x74]
push ecx
call fcn.00408960
add esp, 0x24
lea ecx, [ebp - 0x74]
call fcn.0041a040
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408e10
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00456650
add esp, 8
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xc8]
call fcn.00406c20
push eax
call fcn.00407170
add esp, 4
push eax
lea ecx, [ebp - 0x94]
call fcn.00408d90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.00406bc0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00408e90
push 0x485f1c
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00456760
add esp, 8
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xd0]
call fcn.00408ef0
push eax
mov edx, dword [ebp - 0x70]
push edx
push 0x485f24
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
push str.http:__log.item.koramgame.com_dclog.php_mark559001002log103mac_sguid_sflashcookie_spid_stime_ldsign_sv_s
lea eax, [ebp - 0x78]
push eax
call fcn.00408960
add esp, 0x24
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x64]
call fcn.00408e90
lea ecx, [ebp - 0x78]
call fcn.0041a040
push eax
call fcn.00407f80
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406bc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.004029a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.004029a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.004029a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004029a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004029a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.004029a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret