Function at 0x40a7f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3a48
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x519074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x48], esi
push str.LAYOUT:XML_MAINWND
mov dword [ebp - 0x60], esi
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SHostWnd::constructor_wchar_t_const__]
mov dword [ebp - 4], 0
mov ecx, 0x519b1c
push 0
push 0x5022e4
mov dword [esi], vtable.CMainDlg.4.0
mov dword [esi + 4], vtable.CMainDlg.3.0
mov dword [esi + 8], vtable.CMainDlg.2.0
mov dword [esi + 0xc], vtable.CMainDlg.1.0
mov dword [esi + method.CMainDlg.virtual_0], vtable.CMainDlg.0
mov dword [esi + 0x3a4], 0
call fcn.00457020
push 0
push 0x5022e4
mov ecx, 0x519b04
call fcn.00457020
push 0
push str.pair_or_update_logs_
call fcn.004b7e41
add esp, 8
cmp eax, 0xffffffff
jne 0x40a8a9
push 0
push str.pair_or_update_logs_
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x2a
push str.pair_or_update_logs_pair_or_update_log.txt
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00457020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xc
push str.daily_logger
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00457020
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x58], 0
push eax
sub esp, 0x18
mov dword [ebp - 0x48], 0xc
lea eax, [ebp - 0x28]
mov ecx, esp
lea esi, [ebp - 0x40]
push eax
call fcn.004565f0
mov edx, esi
lea ecx, [ebp - 0x54]
call fcn.0042c3e0
mov eax, dword [ebp - 0x54]
add esp, 0x24
mov ecx, dword [0x520490]
mov esi, dword [0x520494]
mov dword [0x520490], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov dword [0x520494], eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x40a976
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a976
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40a976
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40a9ae
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aab9
push edx
push ecx
call fcn.00476085
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a9e6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aabe
push edx
push ecx
call fcn.00476085
add esp, 8
mov ecx, dword [0x520490]
mov eax, 4
add ecx, 0x30
xchg dword [ecx], eax
push 0x15
push str.__H:_M:_S._e____l___v
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00457020
mov edi, dword [0x520490]
push 0x78
mov byte [ebp - 4], 3
call fcn.004760bd
mov esi, eax
mov dword [ebp - 0x4c], esi
sub esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esp
push 2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4fd744
mov byte [ecx], 0
call fcn.00457020
movups xmm0, xmmword [ebp - 0x28]
push 0
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00406cc0
push ecx
mov edx, esp
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x4c], 0
mov dword [edx], eax
call fcn.00408980
mov eax, dword [ebp - 0x5c]
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.00476066
mov esp, ebp
pop ebp
ret
call fcn.004a3cba
call fcn.004a3cba
int3