Function at 0x40c840
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456e08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x473b98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push str.client_
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
mov bl, 2
push ecx
mov byte [ebp - 4], bl
call fcn.004085d0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
lea esi, [eax + 1]
push esi
mov byte [ebp - 4], 3
call fcn.004183f1
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x14]
push esi
push eax
push edi
call fcn.00441a30
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.004066f0
add esp, 4
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.0040c610
add esp, 8
push str.clientguild
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c915
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.clientShader
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.clientRedist
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c98b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.clientCore.bpl
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c9ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.client_rxjhlog.txt
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.clientpause.txt
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.client_rxjh_Error.log
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.HXGame.exe
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40caae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x45c464
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cae7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hxjh.License
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004085d0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.clientClient.exe
lea edx, [ebp + 0xc]
push edx
push ecx
call fcn.004085d0
add esp, 0xc
call fcn.0040add0
mov eax, dword [ebp + 8]
add esp, 4
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.004066f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040add0
add esp, 4
test eax, eax
je 0x40cb7f
push 0
push 0x45b144
push 0x45c3a0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cbcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cbf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret