Function at 0x42e030
Capabilities:
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563a75
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x7c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x198], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x2755
push str.CGameProcess::OnSvrMsgLogon
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0x6d]
call fcn.004024e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.0043b0e0
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0xfb10c], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xa]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x198]
mov byte [edx + 0xfb391], cl
mov eax, dword [ebp - 0x198]
movzx ecx, byte [eax + 0xfb391]
cmp ecx, 4
jge 0x42e0d8
mov edx, dword [ebp - 0x198]
mov byte [edx + 0xfb391], 4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xa]
and ecx, 0xff
mov byte [ebp - 0x6e], cl
movzx edx, byte [ebp - 0x6e]
cmp edx, 8
jle 0x42e0f5
mov byte [ebp - 0x6e], 0
push 0x5a
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
call fcn.00509bc0
mov edx, dword [ebp - 0x198]
mov al, byte [ebp - 0x46]
mov byte [edx + 0xfe036], al
mov ecx, dword [ebp - 0x198]
mov dl, byte [ebp - 0x46]
mov byte [ecx + 0xfe036], dl
mov eax, dword [ebp - 0x198]
mov cl, byte [ebp - 0x45]
mov byte [eax + 0xfe037], cl
mov edx, dword [ebp - 0x198]
mov al, byte [ebp - 0x3d]
mov byte [edx + 0xfe034], al
mov ecx, dword [ebp - 0x198]
mov dl, byte [ebp - 0x3b]
mov byte [ecx + 0xfe043], dl
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0xfe038], ecx
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x37]
mov dword [edx + 0xfe03c], eax
mov ecx, dword [ebp - 0x198]
mov dl, byte [ebp - 0x31]
mov byte [ecx + 0xfe040], dl
mov eax, dword [ebp - 0x198]
mov cl, byte [ebp - 0x40]
mov byte [eax + 0xfe041], cl
mov edx, dword [ebp - 0x198]
mov al, byte [ebp - 0x3e]
mov byte [edx + 0xfe042], al
movzx ecx, byte [ebp - 0x3f]
neg ecx
sbb ecx, ecx
neg ecx
mov edx, dword [ebp - 0x198]
mov byte [edx + 0xfe21a], cl
movzx eax, byte [ebp - 0x38]
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 0xfe048], eax
movzx edx, byte [ebp - 0x33]
mov eax, dword [ebp - 0x198]
mov dword [eax + 0xfe04c], edx
cmp dword [ebp - 0x1a], 0
je 0x42e1f6
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x1a]
xor edx, dword [ecx + 0xfb10c]
mov eax, dword [ebp - 0x198]
mov dword [eax + 0xfe05c], edx
jmp 0x42e206
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 0xfe05c], 0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 8]
push edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
push ecx
movzx edx, byte [ebp - 0x6e]
push edx
push 0
mov eax, dword [ebp - 0x198]
add eax, 0x1e044
push eax
mov ecx, dword [ebp - 0x198]
add ecx, 0xfb108
mov edx, dword [ebp - 0x198]
mov eax, dword [edx + 0xfb108]
mov edx, dword [eax + 0xd4]
call edx
push 0x69df00
push 0x40
mov eax, dword [ebp - 0x198]
add eax, 0xfb110
push eax
call fcn.005477d6
add esp, 0xc
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0xff738], edx
mov eax, dword [ebp - 0x198]
add eax, 0x41b1c
push eax
mov ecx, dword [ebp - 0x198]
add ecx, 0xfb108
call fcn.004c76e0
mov ecx, dword [ebp - 0x16]
push ecx
call fcn.00547835
add esp, 4
test eax, eax
jle 0x42e2b3
mov edx, dword [ebp - 0x16]
mov dword [ebp - 0x19c], edx
jmp 0x42e2bd
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
mov dword [0x664d84], eax
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x188], 0
jmp 0x42e2ea
mov ecx, dword [ebp - 0x188]
add ecx, 1
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 8
jge 0x42e315
mov edx, dword [ebp - 0x188]
mov eax, dword [0x664d84]
cmp eax, dword [edx*4 + 0x5ad44c]
jne 0x42e313
mov dword [0x664d84], 2
jmp 0x42e315
jmp 0x42e2db
cmp dword [0x664d84], 2
je 0x42e328
mov dword [0x664d84], 1
mov ecx, 0x5dc
mov edx, dword [ebp - 0x198]
mov word [edx + 0x111294], cx
xor eax, eax
mov ecx, dword [ebp - 0x198]
mov word [ecx + 0x111296], ax
xor edx, edx
mov eax, dword [ebp - 0x198]
mov word [eax + 0xfb394], dx
mov ecx, 0x5dc
mov edx, dword [ebp - 0x198]
mov word [edx + 0xfb392], cx
mov eax, dword [ebp - 0x64]
and eax, 0xff
mov byte [0x663c13], al
mov ecx, dword [ebp - 0x198]
mov byte [ecx + 0x100b3c], 1
push 0x51
mov ecx, 0x7c46b0
call fcn.00505680
push 0x104
push 0
lea edx, [ebp - 0x184]
push edx
call fcn.005454d0
add esp, 0xc
push 0x69df00
push 0x69dcf0
push str..king_saved_s__s.itm
lea eax, [ebp - 0x184]
push eax
call fcn.005456a9
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
jne 0x42e412
push 0
push str..king
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x18c], eax
push 0
push 0x5783fc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x78], 0xffffffff
cmp dword [ebp - 0x74], 0xffffffff
je 0x42e455
push 0
lea edx, [ebp - 0x190]
push edx
push 0x12f0
mov eax, dword [ebp - 0x198]
add eax, 0xfe220
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e45f
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x198]
call fcn.00431920
mov ecx, dword [ebp - 0x198]
call fcn.00430420
mov ecx, dword [ebp - 0x198]
call fcn.0042f860
mov ecx, dword [ebp - 0x198]
call fcn.0042fe30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6d]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x7c]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 4