Function at 0x437690
Capabilities:
Create directory
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450396
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4650c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call fcn.0043af06
mov dword [ebp - 0x19c], eax
mov eax, dword [section..data]
mov dword [ebp - 0x198], edx
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x188]
push ecx
mov dword [ebp - 4], ebx
call fcn.0043af57
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x19c]
mov esi, eax
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.0043af57
add esp, 0x10
cmp eax, ebx
jne 0x437734
mov edi, dword [ebp - 0x154]
inc edi
jmp 0x437736
xor edi, edi
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.0043af57
add esp, 8
cmp eax, ebx
jne 0x43775d
mov eax, dword [ebp - 0x12c]
add eax, 0x76c
jmp 0x43775f
xor eax, eax
push esi
push edi
push eax
push str._d_d_d.txt
lea edi, [ebp - 0x18c]
call fcn.00410840
push 0x103
lea eax, [ebp - 0x11b]
push ebx
push eax
mov byte [ebp - 0x11c], 0
call fcn.0043c440
add esp, 0x1c
push ebx
push 0x23
lea ecx, [ebp - 0x11c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.SQ_PlatForm
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov dword [ebp - 0x1a8], 0xc
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x1a0], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp - 0x18c]
test ebx, ebx
je 0x437822
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x437822
lea edi, [eax + eax]
mov eax, edi
call fcn.00440f80
mov esi, esp
test esi, esi
je 0x437822
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x437824
xor eax, eax
push eax
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x11c]
push 0x458d70
push eax
call fcn.0043a133
mov ebx, eax
add esp, 8
mov dword [ebp - 0x194], ebx
test ebx, ebx
je 0x437961
call fcn.00418420
mov edi, edx
mov edx, dword [section..data]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp + 8]
push ecx
push edi
push esi
push str._I64d__d
lea edi, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.00410840
mov edi, dword [ebp - 0x190]
add esp, 0x10
test edi, edi
jne 0x4378a3
xor ecx, ecx
jmp 0x4378f0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x4378ec
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00440f80
mov esi, esp
test esi, esi
je 0x4378e6
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp - 0x194]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4378ee
mov ebx, dword [ebp - 0x194]
xor eax, eax
mov ecx, eax
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4378f5
push ebx
sub eax, esi
push eax
push 1
push ecx
call fcn.0043a2a1
push ebx
call fcn.0043a388
lea eax, [edi - 0x10]
add esp, 0x14
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43795a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x43798c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43798a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004397ee
mov esp, ebp
pop ebp
ret 4