Function at 0x520130
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x666797
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x71ccd4]
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 0x5208b8
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x140], eax
test eax, eax
je 0x5208b8
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.0061575c
add esp, 4
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x1ec], 0x68bc5c
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 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 - 0x1e8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x134], 1
call fcn.004d1ca0
mov eax, dword [ebp - 0x1ec]
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 - 0x1ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1f0], 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.005c7d27
mov esi, eax
add esp, 4
test esi, esi
je 0x52029a
push 1
mov byte [ebp - 4], 3
call fcn.005c6df2
add esp, 4
mov dword [esi + 4], eax
jmp 0x52029c
xor esi, esi
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1c4], 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 - 0x1b0], 0
mov dword [ebp - 0x1ac], 4
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 4
push eax
call fcn.0061a417
push str._Y_m_d__H_M_S
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0051fa30
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.0051f7c0
add esp, 0x18
mov edx, dword [ebp - 0x1ac]
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 0x5203e8
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax]
test ecx, ecx
je 0x5203e8
mov eax, dword [ebp - 0x1d8]
cmp ecx, dword [ebp - 0x1b0]
cmovb ecx, dword [ebp - 0x1b0]
mov edx, dword [eax]
sub ecx, edx
jmp 0x520413
test dl, 4
jne 0x52040d
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax]
test ecx, ecx
je 0x52040d
mov eax, dword [ebp - 0x1dc]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x1bc]
add ecx, dword [eax]
jmp 0x520413
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x520424
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.0044d4e0
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.0051f970
add esp, 8
mov eax, dword [0x68bca0]
movq xmm0, qword [str.metin2client_]
mov dword [ebp - 0x68], eax
mov al, byte [0x68bca4]
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 esi, [ebp - 0x58]
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x58]
mov byte [ebp - 4], 0xa
cmp edi, 0xe
ja 0x520539
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
lea eax, [esi + edi]
cmp eax, ecx
jbe 0x5204f9
lea eax, [ebp - 0x27]
cmp esi, eax
ja 0x5204f9
mov eax, ecx
cmp eax, esi
ja 0x5204ec
xor ecx, ecx
mov dword [ebp - 0x134], ecx
jmp 0x520501
lea ecx, [ebp - 0x28]
sub ecx, esi
mov dword [ebp - 0x134], ecx
jmp 0x520501
mov ecx, edi
mov dword [ebp - 0x134], edi
mov ax, word [ebp - 0x28]
push ecx
mov word [ebp + edi - 0x28], ax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.006029d0
mov edx, dword [ebp - 0x134]
lea ecx, [ebp - 0x28]
mov eax, edi
add ecx, edx
sub eax, edx
push eax
lea eax, [edx + edi]
add eax, esi
push eax
push ecx
call fcn.006029d0
add esp, 0x18
lea eax, [ebp - 0x28]
jmp 0x520550
push edi
push esi
push 0
mov byte [ebp - 0x134], 0
push dword [ebp - 0x134]
push edi
call fcn.004f7320
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.00504110
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.00504110
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.00504110
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.00504110
push 4
push str..dmp
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
call fcn.0044d3e0
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.0044bc10
lea ecx, [ebp - 0xe8]
call fcn.0044bc10
lea ecx, [ebp - 0x100]
call fcn.0044bc10
lea ecx, [ebp - 0x118]
call fcn.0044bc10
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x5206b8
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5206ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d3
push edx
push ecx
call fcn.005c7d65
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x5206f0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5206e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d3
push edx
push ecx
call fcn.005c7d65
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 0x52073a
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x520730
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d3
push edx
push ecx
call fcn.005c7d65
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.0044bc10
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x19
cmp edx, 0x10
jb 0x520780
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x520776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d3
push edx
push ecx
call fcn.005c7d65
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x1a
cmp edx, 0x10
jb 0x5207be
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5207b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d3
push edx
push ecx
call fcn.005c7d65
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 esi, eax
cmp esi, 0xffffffff
je 0x52083b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x13c]
xor edx, edx
push 0
mov dword [ebp - 0x154], eax
test ecx, ecx
push 0
lea eax, [ebp - 0x154]
mov dword [ebp - 0x150], ecx
cmove eax, edx
mov dword [ebp - 0x14c], 0
push eax
push 0x50
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x140]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x52086b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x520861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d8
push edx
push ecx
call fcn.005c7d65
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0051fcc0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x5208b8
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5208ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5208d8
push edx
push ecx
call fcn.005c7d65
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.005c81cf
mov esp, ebp
pop ebp
ret
call fcn.0060d0a2
call fcn.0060d0a2
int3