Function at 0x526510
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c547
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.dbghelp
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x526c92
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x138], eax
test eax, eax
je 0x526c92
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x58], 0x73676f6c
mov byte [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
call fcn.0063b2e0
add esp, 4
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x1e8], 0x6b6c08
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x134], 1
call fcn.00525ed0
mov eax, dword [ebp - 0x1e8]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1ec], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005df3dc
mov esi, eax
add esp, 4
test esi, esi
je 0x52667a
push 1
mov byte [ebp - 4], 3
call fcn.005dcb48
add esp, 4
mov dword [esi + 4], eax
jmp 0x52667c
xor esi, esi
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 4
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
call fcn.0063f1e7
push str._Y_m_d__H_M_S
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00525d10
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00525aa0
add esp, 0x18
mov edx, dword [ebp - 0x1a8]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0xa0], 0
and al, 0x22
mov byte [ebp - 4], 5
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x134], 5
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
cmp al, 2
je 0x5267c8
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax]
test ecx, ecx
je 0x5267c8
mov eax, dword [ebp - 0x1d4]
cmp ecx, dword [ebp - 0x1ac]
cmovb ecx, dword [ebp - 0x1ac]
mov edx, dword [eax]
sub ecx, edx
jmp 0x5267f5
test dl, 4
jne 0x5267ef
mov eax, dword [ebp - 0x1c8]
mov esi, dword [eax]
test esi, esi
je 0x5267ef
mov eax, dword [ebp - 0x1d8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x5267f5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x526806
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00457e40
mov dword [ebp - 4], 4
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 1
mov word [ebp - 0x88], 0x5f
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 7
push 0xa027
push eax
call fcn.00525c50
add esp, 8
mov eax, dword [0x6b6c4c]
movq xmm0, qword [str.metin2client_]
mov dword [ebp - 0x68], eax
mov al, byte [0x6b6c50]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0xd
movq qword [ebp - 0x70], xmm0
mov byte [ebp - 0x64], al
mov byte [ebp - 0x63], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 1
mov word [ebp - 0x28], 0x5c
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0xa
cmp esi, 0xe
ja 0x52690a
lea eax, [esi + 1]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x28]
lea eax, [esi + ecx]
mov dword [ebp - 0x134], eax
cmp eax, edx
jbe 0x5268d5
lea eax, [ebp - 0x27]
cmp ecx, eax
ja 0x5268d5
mov eax, edx
cmp eax, ecx
ja 0x5268ce
xor edi, edi
jmp 0x5268d7
lea edi, [ebp - 0x28]
sub edi, ecx
jmp 0x5268d7
mov edi, esi
mov ax, word [ebp - 0x28]
push edi
mov word [ebp + esi - 0x28], ax
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.00627190
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x28]
sub esi, edi
add eax, edi
push esi
add ecx, edi
push eax
push ecx
call fcn.00627190
add esp, 0x18
lea eax, [ebp - 0x28]
jmp 0x526924
push esi
push ecx
push 0
mov byte [ebp - 0x134], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x134]
push esi
call fcn.004d3c30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0x118]
call fcn.005082c0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0x100]
call fcn.005082c0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0xe8]
call fcn.005082c0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0xd0]
call fcn.005082c0
push 4
push str..dmp
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
call fcn.00457cb0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0xd0]
call fcn.00455610
lea ecx, [ebp - 0xe8]
call fcn.00455610
lea ecx, [ebp - 0x100]
call fcn.00455610
lea ecx, [ebp - 0x118]
call fcn.00455610
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x526a8c
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526a82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cad
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x526ac4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526aba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cad
push edx
push ecx
call fcn.005df40c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x17
cmp edx, 0x10
jb 0x526b0e
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526b04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cad
push edx
push ecx
call fcn.005df40c
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.00455610
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x19
cmp edx, 0x10
jb 0x526b54
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526b4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cad
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x1a
cmp edx, 0x10
jb 0x526b92
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526b88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cad
push edx
push ecx
call fcn.005df40c
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x526c15
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
xor edx, edx
lea ecx, [ebp - 0x150]
cmp dword [ebp - 0x13c], edx
push 0
cmove ecx, edx
push ecx
push 0x50
push edi
push esi
push eax
call dword [ebp - 0x138]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x526c45
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526c3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cb2
push edx
push ecx
call fcn.005df40c
add esp, 8
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.005260c0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x526c92
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x526c88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526cb2
push edx
push ecx
call fcn.005df40c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
call fcn.00631407
call fcn.00631407
int3