Function at 0x140025600
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0xe0
call fcn.140189b00
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x1401f3660]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x80], reloc.WS2_32.dll_ntohs
xor edi, edi
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x68], dil
lea r9d, [rdi + 3]
lea r8, [0x14018e100]
lea edx, [rdi + 0xf]
lea rcx, [rsp + 0x68]
call fcn.140041310
mov qword [rsp + 0x78], 3
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
mov byte [rax + 3], dil
mov qword [rsp + 0xd0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xc8], rdi
mov byte [rsp + 0xb8], dil
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xa0], rdi
mov byte [rsp + 0x90], dil
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400023d0
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x30]
call fcn.1400249c0
lea r11, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae r11, qword [rsp + 0x90]
mov qword [rsp + 0x28], r11
lea rax, str.InitializeDatabase
mov qword [rsp + 0x20], rax
lea r9, str._s___database_dir__s_
mov r8d, 0x9a
lea rdx, str..cntmss_dbDda.cpp
lea ecx, [rdi + 0x44]
call fcn.1400382e0
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
xor edx, edx
call fcn.1400428d0
test eax, eax
je 0x14002578c
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400023d0
lea rcx, [rsp + 0x30]
call fcn.140024dc0
mov rbx, rax
test rax, rax
je 0x1400257d7
mov rcx, rax
call fcn.140023a80
mov rcx, rbx
call fcn.140036958
lea rax, [rsp + 0x68]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
cmovae rax, r8
lea rbx, [0x14018e154]
mov rcx, qword [rsp + 0x78]
cmp rbx, rax
jb 0x140025841
lea rax, [rsp + 0x68]
cmp rdx, 0x10
cmovae rax, r8
add rax, rcx
cmp rax, rbx
jbe 0x140025841
lea rax, [rsp + 0x68]
cmp rdx, 0x10
cmovae rax, r8
sub rbx, rax
mov r9d, 3
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400023d0
jmp 0x1400258a2
cmp rdx, 3
jae 0x140025866
mov r8, rcx
mov edx, 3
lea rcx, [rsp + 0x60]
call fcn.1400026b0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
cmp rdx, 0x10
cmovae rcx, r8
mov r9d, 3
mov r8, rbx
call fcn.140041310
mov qword [rsp + 0x78], 3
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
mov byte [rax + 3], 0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400023d0
lea rcx, [rsp + 0x30]
call fcn.140024dc0
mov rbx, rax
test rax, rax
je 0x1400258ed
mov rcx, rax
call fcn.140023b00
mov rcx, rbx
call fcn.140036958
call fcn.1400253b0
movzx ebx, al
cmp qword [rsp + 0xa8], 0x10
jb 0x14002590d
mov rcx, qword [rsp + 0x90]
call fcn.140041700
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xa0], rdi
mov byte [rsp + 0x90], 0
cmp qword [rsp + 0xd0], 0x10
jb 0x140025941
mov rcx, qword [rsp + 0xb8]
call fcn.140041700
mov qword [rsp + 0xd0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xc8], rdi
mov byte [rsp + 0xb8], 0
cmp qword [rsp + 0x80], 0x10
jb 0x140025976
mov rcx, qword [rsp + 0x68]
call fcn.140041700
mov al, bl
jmp 0x140025978
mov al, bl
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140041910
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret