Function at 0x401310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x222]
push edx
mov dword [ebp - 0x228], eax
mov word [ebp - 0x224], cx
call fcn.0054b8b0
add esp, 0xc
push 0x1c
lea edx, [ebp - 0x244]
push edx
xor ecx, ecx
push ebx
mov dword [ebp - 0x1c], 0x520045
mov dword [ebp - 0x18], 0x4f0052
mov dword [ebp - 0x14], 0x3a0052
mov dword [ebp - 0x10], 0x300025
mov dword [ebp - 0xc], 0x580038
mov word [ebp - 8], cx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x4014d8
mov eax, dword [ebp - 0x240]
push 0x200
push edi
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40148c
call fcn.00402da0
push 0x64d528
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x64d8d4]
test eax, eax
jne 0x4013df
push 0x208
call fcn.00544f4c
add esp, 4
mov dword [0x64d8d4], eax
push 0
push 0x104
push eax
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x64ee90]
test eax, eax
js 0x40146e
mov edx, dword [0x64d8d4]
lea ecx, [ebp - 0x224]
call fcn.00403860
push 0x64d528
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x224]
push eax
mov ecx, esi
call fcn.00403ac0
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0x104
push esi
call fcn.00544fe0
add esp, 0x10
jmp 0x4015ec
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401491
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, edx
inc eax
push eax
push edi
push 0
push 0
call ebx
push eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call ebx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
call fcn.00402da0
push 0x64d528
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x64d8d4], 0
jne 0x401503
push 0x208
call fcn.00544f4c
add esp, 4
mov dword [0x64d8d4], eax
push 0
push 0x1c
lea edx, [ebp - 0x244]
push edx
push 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
push eax
call dword [0x64ee90]
test eax, eax
js 0x4015d9
mov eax, dword [0x64d8d4]
mov ecx, dword [ebp - 0x240]
push 0
push 0x104
push eax
push 2
push ecx
call ebx
push eax
call dword [0x64ee90]
test eax, eax
js 0x4015be
mov edx, dword [0x64d8d4]
lea ecx, [ebp - 0x224]
call fcn.00403860
push 0x64d528
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [ebp - 0x224]
push edx
mov ecx, esi
call fcn.00403ac0
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
mov eax, dword [ebp - 0x228]
mov dword [eax], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x104
push esi
call fcn.00544fe0
add esp, 0x10
jmp 0x4015ec
push 0x619910
push 0x104
push esi
call fcn.00544fe0
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push 0x64d528
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00544a28
mov esp, ebp
pop ebp
ret