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

Disassembly:
push 0xffffffffffffffff
push 0x42b976
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4352f4]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4352f4]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a4]
xor ebx, ebx
push 0x104
lea ecx, [esp + 0x89]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x90], bl
call fcn.004174d0
add esp, 0xc
push 0x104
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x84]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x411b82
sub eax, edx
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
call fcn.00405500
lea ecx, [esp + 0x28]
push ecx
mov edi, str.giwefkwfiw
lea esi, [esp + 0x6c]
mov dword [esp + 0x1a0], ebx
call fcn.00409f40
add esp, 4
mov ebp, 0x10
mov byte [esp + 0x19c], 2
cmp dword [esp + 0x40], ebp
jb 0x411bdc
mov edx, dword [esp + 0x2c]
push edx
call fcn.00414c4a
add esp, 4
lea eax, [esp + 0x18]
mov esi, 0xf
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00405420
lea esi, [esp + 0x64]
call fcn.00411a30
cmp dword [esp + 0x64], ebp
movzx edi, word [esp + 0x18]
mov eax, dword [esp + 0x50]
jae 0x411c36
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411c5f
push edi
push 0x4302d4
push esi
call fcn.00414e2a
push esi
call fcn.0041611f
add esp, 0x10
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411c6d
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411c99
push esi
push 1
push 1
push 0x4302ec
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
movzx edi, word [esp + 0x1a]
mov eax, dword [esp + 0x50]
jae 0x411cac
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411cd5
push edi
push 0x4302d4
push esi
call fcn.00414e2a
push esi
call fcn.0041611f
add esp, 0x10
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411ce3
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411d0f
push esi
push 1
push 1
push 0x4302ec
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
movzx edi, word [esp + 0x1e]
mov eax, dword [esp + 0x50]
jae 0x411d22
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411d4b
push edi
push 0x4302d4
push esi
call fcn.00414e2a
push esi
call fcn.0041611f
add esp, 0x10
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411d59
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411d85
push esi
push 1
push 1
push 0x43026c
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
movzx edi, word [esp + 0x20]
mov eax, dword [esp + 0x50]
jae 0x411d98
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411dc1
push edi
push 0x4302d4
push esi
call fcn.00414e2a
push esi
call fcn.0041611f
add esp, 0x10
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411dcf
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411dfb
push esi
push 1
push 1
push 0x430264
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
movzx edi, word [esp + 0x22]
mov eax, dword [esp + 0x50]
jae 0x411e0e
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411e37
push edi
push 0x4302d4
push esi
call fcn.00414e2a
push esi
call fcn.0041611f
add esp, 0x10
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411e45
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411e71
push esi
push 1
push 1
push 0x430264
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
movzx edi, word [esp + 0x24]
mov eax, dword [esp + 0x50]
jae 0x411e84
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411ead
push edi
push 0x4302d4
push esi
call fcn.00414e2a
push esi
call fcn.0041611f
add esp, 0x10
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411ebb
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411ee7
push esi
push 1
push 2
push 0x4302f0
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411ef5
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411f30
mov edi, dword [esp + 0x14]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x411f12
push esi
sub eax, edx
push 1
push eax
push edi
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x411f3e
lea eax, [esp + 0x50]
push 0x4302d0
push eax
call fcn.0041609a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x411f6a
push esi
push 1
push 2
push 0x4302f4
call fcn.004162fa
push esi
call fcn.0041611f
add esp, 0x14
cmp dword [esp + 0x64], ebp
mov dword [esp + 0x48], vtable.CLMLog.0
jb 0x411f85
mov eax, dword [esp + 0x50]
push eax
call fcn.00414c4a
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x411fab
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00414c4a
add esp, 4
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00414c0c
add esp, 0x18c
ret