Function at 0x100623f0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6cea
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100eddd8]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100efabc]
cmp eax, dword [esi + 4]
jle 0x10062473
push 0x100efabc
call fcn.10087fc8
add esp, 4
cmp dword [0x100efabc], 0xffffffff
jne 0x10062473
push 0x100efac0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100b9630
call fcn.10088331
push 0x100efabc
call fcn.10087f77
add esp, 8
push 0x100efac0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100efad8]
cmp eax, dword [esi + 4]
jle 0x100624c2
push 0x100efad8
call fcn.10087fc8
add esp, 4
cmp dword [0x100efad8], 0xffffffff
jne 0x100624c2
push 0x100b9610
mov dword [0x100efadc], 0
call fcn.10088331
push 0x100efad8
call fcn.10087f77
add esp, 8
cmp dword [0x100efadc], 0
jne 0x10062bbe
lea ecx, [ebp - 0x2b0]
call fcn.10065410
mov esi, eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10089e40
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10062532
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10002390
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x264]
call fcn.10005680
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x100625ae
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100625a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d84
push ecx
push edx
call fcn.10087edd
add esp, 8
push 0x15
push 0x100cda30
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 2
call fcn.10002080
mov dword [ebp - 0x288], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x100ccf98
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.10002080
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x2c8]
call fcn.1002c100
push 4
push str..log
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 5
call fcn.10002080
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x27c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x26c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24c]
call fcn.10002280
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x10062703
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100626f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d89
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 7
jbe 0x10062747
mov edx, dword [ebp - 0x2c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006273d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d89
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x100627a8
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006279e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d89
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x284]
cmp ecx, 7
jbe 0x100627ec
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100627e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d89
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 7
jbe 0x1006284d
mov edx, dword [ebp - 0x2e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10062843
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d89
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x29c]
cmp ecx, 7
jbe 0x100628ae
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100628a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d89
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x29c], 7
movups xmmword [ebp - 0x264], xmm0
mov word [ebp - 0x2b0], ax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
push ecx
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x264]
call fcn.100642f0
push eax
call fcn.10062370
mov ecx, eax
call fcn.10014200
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x10062954
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006294a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d8e
push ecx
push edx
call fcn.10087edd
add esp, 8
cmp dword [ebp - 0x238], 7
lea eax, [ebp - 0x24c]
push 0
cmova eax, dword [ebp - 0x24c]
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x100efadc], eax
cmp eax, 0xffffffff
je 0x10062b77
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
push str._Y._m._d._H:_M:_S
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x234], xmm0
call fcn.10003020
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x27c]
call fcn.100660c0
push 9
push str.DateTime
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.10005000
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x264]
call fcn.10002280
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x12
call fcn.100623f0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x10062a77
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10062a6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d93
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
cmp ecx, 7
jbe 0x10062ad8
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10062ace
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d93
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x10062b1c
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10062b12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d93
push ecx
push edx
call fcn.10087edd
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp ecx, 0xf
jbe 0x10062b77
mov edx, dword [ebp - 0x234]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10062b6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d93
push ecx
push edx
call fcn.10087edd
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x10062bbe
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10062bb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d98
push ecx
push edx
call fcn.10087edd
add esp, 8
mov eax, dword [0x100efadc]
cmp eax, 0xffffffff
je 0x10062d5e
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ecx
lea eax, [ebp - 0x264]
mov ecx, edi
push eax
call fcn.100607a0
mov ecx, eax
mov dword [ebp - 4], 0x13
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x10062c1f
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x10062c0f
mov eax, dword [ecx]
mov esi, 0xa0d
mov word [eax + edx], si
mov byte [eax + edx + 2], 0
jmp 0x10062c3c
push 2
push 0x100cbe7c
mov byte [ebp - 0x280], 0
push dword [ebp - 0x280]
push 2
call fcn.10004e30
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x27c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x26c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x234]
call fcn.10002db0
mov ecx, dword [ebp - 0x268]
cmp ecx, 0xf
jbe 0x10062cb4
mov edx, dword [ebp - 0x27c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10062caa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d9d
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x10062cee
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10062ce4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062d9d
push ecx
push edx
call fcn.10087edd
add esp, 8
cmp dword [ebp - 0x220], 0xf
lea ecx, [ebp - 0x21c]
push 0
push ecx
push dword [ebp - 0x224]
lea eax, [ebp - 0x234]
mov dword [ebp - 0x21c], 0
cmova eax, dword [ebp - 0x234]
push eax
push dword [0x100efadc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x220]
cmp ecx, 0xf
jbe 0x10062d5e
mov edx, dword [ebp - 0x234]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10062d54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062da2
push ecx
push edx
call fcn.10087edd
add esp, 8
push 0x100efac0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.10087ecf
mov esp, ebp
pop ebp
ret
call fcn.1008d13f
call fcn.1008d13f
call fcn.1008d13f
call fcn.1008d13f
call fcn.1008d13f
call fcn.1008d13f
call fcn.1008d13f
int3