Function at 0x4efd80
Capabilities:
Check mutex on windows
Create directory
Set current directory

Disassembly:
sub esp, 0x428
mov eax, dword [0x58c780]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
mov ebx, dword [esp + 0x430]
push ebp
push esi
push edi
push str.Japanese_Japan.932
push 0
mov dword [0xc31b64], ebx
call fcn.004f8ecd
add esp, 8
push 0x104
push 0xc30db0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0xc30db0
call fcn.004f4e51
push 0
push 0
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x30]
push edx
push 0xc30db0
call fcn.004f4c3f
call fcn.004ee3f0
push str..cfg
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x44]
push edx
push 0x104
push 0xc31a60
call fcn.004f7f85
add esp, 0x40
push 0xc31a60
call fcn.004edc10
add esp, 4
test eax, eax
je 0x4efe57
push 0xc31a60
call fcn.004ee4c0
add esp, 4
cmp dword [0xc3043c], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x4eff9b
push str..cfg
push str.config_cn
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x104
push 0xc31a60
call fcn.004f7f85
push 0xc31a60
call fcn.004edc10
add esp, 0x1c
test eax, eax
je 0x4efeb4
push 0xc31a60
call fcn.004ee4c0
add esp, 4
cmp dword [0xc3043c], 0
je 0x4eff9b
cmp byte [0xc30ca8], 0
je 0x4eff9b
cmp byte [0xc31850], 0
je 0x4eff9b
lea edx, [esp + 0x30]
push edx
push 5
push 0
call fcn.004edc80
add esp, 0xc
test eax, eax
je 0x4eff9b
push 0x55fbe8
lea eax, [esp + 0x34]
push eax
call edi
push 0xc30ca8
lea ecx, [esp + 0x34]
push ecx
call edi
lea edx, [esp + 0x30]
push edx
call fcn.004edc10
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 4
test eax, eax
jne 0x4eff30
push 0
lea eax, [esp + 0x34]
push eax
call ebp
test eax, eax
je 0x4eff9b
push 0x55fbe8
lea ecx, [esp + 0x34]
push ecx
call edi
push 0xc31850
lea edx, [esp + 0x34]
push edx
call edi
lea eax, [esp + 0x30]
push eax
call fcn.004edc10
add esp, 4
test eax, eax
jne 0x4eff65
push eax
lea ecx, [esp + 0x34]
push ecx
call ebp
test eax, eax
je 0x4eff9b
push str.configure.cfg
lea edx, [esp + 0x34]
push edx
call edi
lea eax, [esp + 0x30]
push eax
push 0xc31a60
call esi
lea ecx, [esp + 0x30]
push ecx
call fcn.004edc10
add esp, 4
test eax, eax
je 0x4eff9b
push 0xc31a60
call fcn.004ee4c0
add esp, 4
mov ecx, 0x589048
call fcn.00412b60
test eax, eax
jne 0x4effae
mov dword [0x58c6a4], eax
push str.ESCUDE_GAMES_MUTEX
push 0xc30758
call esi
push str.ESCUDE_GAMES_FRAME
push 0xc30440
call esi
push str.ESCUDE_GAMES_VIEW
push 0xc30650
call esi
cmp byte [0xc30548], 0
jne 0x4efffd
lea edx, [esp + 0x234]
push edx
push 0xc309a0
call esi
push 0x55fbe8
push 0xc309a0
call edi
push str.main.c
jmp 0x4f002d
push 0x5c
push 0xc30548
call fcn.004f578c
mov edi, eax
add esp, 8
test edi, edi
je 0x4f0034
sub eax, 0xc30548
add eax, 2
push eax
push 0xc30548
push 0xc309a0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
inc edi
push edi
push 0xc30548
call esi
cmp dword [0xc30544], 0
jne 0x4f0090
push 0xc30758
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4f0090
push 0
push 0xc30440
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4f0273
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4f0084
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4f0273
push 0xc30db0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0xc31350
mov byte [0xc31a58], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4f0151
push 0
push 0xc31350
call fcn.004ee280
add esp, 8
test eax, eax
jne 0x4f0131
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4f00e0
cmp byte [0xc31958], 0
mov eax, 0xc31958
jne 0x4f00f5
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x34]
push 0x55fd88
push ecx
call esi
add esp, 0xc
push 5
push 0xc31958
lea edx, [esp + 0x38]
push edx
push 0
call edi
cmp eax, 2
je 0x4f0273
push 0
push 0xc31350
call fcn.004ee280
add esp, 8
test eax, eax
je 0x4f00e0
lea eax, [esp + 0x10]
push eax
push 0xc31a58
mov byte [0xc31a5a], 0
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4f0151
mov byte [0xc31a58], al
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x4f0273
mov ecx, dword [esp + 0x448]
push ecx
push ebx
call fcn.004efb50
add esp, 8
test eax, eax
je 0x4f026d
call fcn.004eea70
test eax, eax
je 0x4f026d
cmp dword [0xc30438], 0
je 0x4f019a
push 1
call fcn.004eec10
add esp, 4
mov edx, dword [0xc31b68]
push 0xc30548
push 0
push 0x401
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4f01d0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4f0249
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call ebp
test eax, eax
je 0x4f0254
mov eax, dword [0xc31b70]
test eax, eax
je 0x4f0231
lea edx, [esp + 0x14]
push edx
push eax
call ebx
test eax, eax
je 0x4f0231
cmp dword [esp + 0x18], 0x100
jne 0x4f01d0
cmp dword [esp + 0x1c], 0x77
jne 0x4f01d0
mov eax, dword [esp + 0x20]
mov ecx, dword [0xc31b68]
push eax
push 0x77
push 0x100
push ecx
call esi
jmp 0x4f01d0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4f01d0
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x4f01d0
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xc31a60
call fcn.004ee8c0
mov eax, dword [esp + 0x20]
add esp, 4
jmp 0x4f0275
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f3b35
add esp, 0x428
ret 0x10