Function at 0x100dc440
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x10285124]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x14], eax
xor eax, eax
push 9
push str.C:goodoc
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.100a7e70
push 0xa
push str.log_bdlog
lea ecx, [esp + 0x54]
call fcn.100ab610
cmp dword [esp + 0x60], 8
lea ecx, [esp + 0x4c]
cmovae ecx, dword [esp + 0x4c]
call fcn.100a68a0
cmp dword [esp + 0x60], 8
lea edi, [esp + 0x4c]
push 0
cmovae edi, dword [esp + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
push eax
push edi
push 0x104
push 0x102a6a40
call fcn.101c2e3e
add esp, 0x10
push str.GDTB
call esi
push eax
push str.GDTB
push 0x400
push 0x102a6c48
call fcn.101c2e3e
mov esi, dword [0x102a7fc8]
add esp, 0x10
test esi, esi
jne 0x100dc524
push 0x220
call fcn.101b4ab7
add esp, 4
mov ecx, eax
call fcn.100a8450
mov esi, eax
mov dword [0x102a7fc8], esi
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push str.level
call fcn.100a62f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
test edx, edx
jne 0x100dc55b
cmp dword [esi + 0x100], 2
mov edx, 0x1003f
mov eax, 0x100ff
cmovne edx, eax
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dc560
sub ecx, esi
je 0x100dc700
mov edi, dword [esp + 0x14]
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dc578
sub ecx, esi
je 0x100dc700
push ebx
lea ecx, [esp + 0x1c]
mov dword [0x102a7fc4], edx
call fcn.100a7590
mov esi, dword [0x102a7fc8]
test esi, esi
jne 0x100dc5bd
push 0x220
call fcn.101b4ab7
add esp, 4
mov ecx, eax
call fcn.100a8450
mov esi, eax
mov dword [0x102a7fc8], esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.100fbbc0
lea ecx, [esi + 0x1c8]
lea eax, [esp + 0x30]
cmp ecx, eax
je 0x100dc5e2
push 0xffffffffffffffff
push 0
push eax
call fcn.100a5420
mov eax, dword [esp + 0x44]
cmp eax, 8
jb 0x100dc5fa
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.100a5620
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x100dc612
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.100a5f10
push edi
lea ecx, [esp + 0x1c]
call fcn.100a7590
mov esi, dword [0x102a7fc8]
test esi, esi
jne 0x100dc642
push 0x220
call fcn.101b4ab7
add esp, 4
mov ecx, eax
call fcn.100a8450
mov esi, eax
mov dword [0x102a7fc8], esi
sub esp, 0x18
lea edx, [esp + 0x30]
mov ecx, esp
call fcn.100fbbc0
mov ecx, esi
call fcn.100e0a30
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x100dc66f
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.100a5f10
mov eax, dword [0x102a7fc8]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
test eax, eax
jne 0x100dc6a6
push 0x220
call fcn.101b4ab7
add esp, 4
mov ecx, eax
call fcn.100a8450
mov dword [0x102a7fc8], eax
mov ecx, eax
call fcn.100a96a0
xor eax, eax
mov dword [esp + 0x78], 7
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
call fcn.100f2c30
mov ecx, dword [esp + 0x78]
mov esi, eax
cmp ecx, 8
jb 0x100dc6e7
inc ecx
push ecx
push dword [esp + 0x68]
lea ecx, [esp + 0x6c]
call fcn.100a5620
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
jmp 0x100dc722
push str._gdl_login_invalied_id_or_password
push 0x4e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x14
mov esi, 5
mov eax, dword [esp + 0x60]
cmp eax, 8
jb 0x100dc73a
inc eax
lea ecx, [esp + 0x4c]
push eax
push dword [esp + 0x50]
call fcn.100a5620
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b451c
mov esp, ebp
pop ebp
ret 8