Function at 0x437f40
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e81e1
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x860], ebx
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
xor ecx, ecx
mov eax, 0xb
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5457
add esp, 4
mov edi, eax
test esi, esi
je 0x438046
cmp esi, 0x104
jg 0x438046
xor esi, esi
mov ecx, edi
call fcn.0044e540
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437fd0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x100]
call fcn.00404fa0
test edi, edi
jne 0x437ffa
xor eax, eax
jmp 0x43800f
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438000
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebx + 0x100]
call fcn.004071f0
push 0
push dword [ebx + 0x100]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebx + 0x100]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test al, 0x10
jne 0x438046
inc esi
cmp esi, 5
jl 0x437fc0
push dword [ebx + 0x100]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x438102
mov ecx, edi
call fcn.0044e540
mov ecx, str.GSSYYYYYbmrv2:KLN_bjuw_.9_IJP_kmx_.2_
call fcn.0045f920
push eax
mov eax, dword [ebp - 0x860]
add eax, 0xd8
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.00404720
push edi
push eax
lea eax, [ebp - 0x864]
mov dword [ebp - 4], 0
push eax
call fcn.00404720
add esp, 0x18
push eax
lea ecx, [ebx + 0x100]
mov byte [ebp - 4], 1
call fcn.00405050
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x864]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4380d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x85c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4380f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx + 0x100]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
call fcn.004a5452
add esp, 4
push dword [ebx + 0x100]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0x208
lea eax, [ebp - 0x830]
mov dword [ebp - 0x844], 0
xorps xmm0, xmm0
mov dword [ebp - 0x840], 0
push 0
push eax
movups xmmword [ebp - 0x854], xmm0
mov dword [ebp - method.CResourceZip.virtual_0], vtable.CResourceZip.0
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xffffffff
call fcn.005ed880
mov edi, dword [ebp - 0x860]
add esp, 8
mov dword [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x85c], esi
mov eax, dword [edi + 0x180]
sub eax, 0x10
push eax
call fcn.004050c0
add esp, 4
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x858]
push 0x91
push eax
call fcn.00438220
push dword [ebx + 0x100]
lea ecx, [ebp - 0x858]
call fcn.00452000
push ecx
mov esi, esp
mov dword [ebp - 0x85c], esi
mov eax, dword [edi + 0x184]
sub eax, 0x10
push eax
call fcn.004050c0
add esp, 4
add eax, 0x10
mov dword [esi], eax
lea eax, [edi + 0x1a4]
push 0x93
push eax
call fcn.00438220
lea ecx, [ebp - 0x858]
call fcn.00451a80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret