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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af271
mov eax, dword fs:[0]
push eax
mov eax, 0x10a0
call fcn.004de730
mov eax, dword [0x624394]
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 edi, edx
mov eax, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0xfa4], eax
lea ecx, [ebp - 0xf38]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xfa8], eax
mov dword [ebp - 0xf38], 0
call fcn.00427ab0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004e0970
mov eax, dword [ebp - 0xf38]
mov edx, 1
add esp, 0xc
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x443482
push 0
lea ecx, [ebp - 0xf38]
call fcn.00420ff0
mov eax, dword [ebp - 0xf38]
lea ecx, [ebp - 0x1028]
push 3
mov dword [ebp - 0x102c], ecx
lea ecx, [ebp - 0x102c]
push eax
call fcn.00434a60
mov esi, dword [ebp - 0x102c]
lea edx, [ebp - 0x114]
mov ecx, esi
sub edx, esi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4434b0
lea eax, [ebp - 0x1028]
cmp esi, eax
je 0x4434d0
push esi
call fcn.004e43de
add esp, 4
lea eax, [ebp - 0x114]
push 0x613d14
push eax
call fcn.004e98bc
mov ebx, eax
add esp, 8
mov dword [ebp - 0xf8c], ebx
test ebx, ebx
je 0x443bdb
push 0x4c
lea eax, [ebp - 0xf84]
push 0
push eax
call fcn.004e0970
push ebx
push 1
lea eax, [ebp - 0xf84]
mov dword [ebp - 0xf84], 0x4c
push 0x4c
push eax
mov dword [ebp - 0xf80], 0x21401
mov dword [ebp - 0xf7c], 0
mov dword [ebp - 0xf78], 0xc0
mov dword [ebp - 0xf74], 0x46000000
mov dword [ebp - 0xf48], 1
mov dword [ebp - 0xf70], 0x40d1
call fcn.004e9b0b
add esp, 0x1c
cmp eax, 1
je 0x443571
push ebx
call fcn.004e9bd9
add esp, 4
jmp 0x443bdb
push 0x800
lea eax, [ebp - 0xf2c]
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [ebp - 0x10a8]
mov dword [ebp - 0x10ac], eax
test edi, edi
jne 0x4435a1
xor esi, esi
mov dword [ebp - 0x10ac], esi
jmp 0x4435ea
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4435a6
sub esi, ecx
lea eax, [ebp - 0x10a8]
sar esi, 1
push ecx
inc esi
lea ecx, [ebp - 0x10ac]
push eax
mov edx, esi
call fcn.004207c0
mov ecx, dword [ebp - 0x10ac]
lea edx, [esi + esi]
push edx
push edi
call fcn.00421100
push eax
call fcn.0043ad00
mov esi, dword [ebp - 0x10ac]
add esp, 0x14
lea edx, [ebp - 0xf2c]
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4435f4
lea eax, [ebp - 0x10a8]
cmp esi, eax
je 0x443617
push esi
call fcn.004e43de
add esp, 4
mov ecx, dword [ebp - 0xfa4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443620
sub ecx, edx
sar ecx, 1
je 0x44377b
lea eax, [ebp - 0xf2c]
mov dword [ebp - 0xf30], 0
push eax
lea ecx, [ebp - 0xf30]
call fcn.0043ae40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xf30]
cmp dword [eax - 0xc], 0
jl 0x443680
push 0x613d18
push eax
call fcn.004e062f
add esp, 8
test eax, eax
je 0x443680
sub eax, dword [ebp - 0xf30]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4436a3
lea edi, [ebp - 0xf2c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x443690
mov eax, dword [0x613d18]
mov dword [edi], eax
mov ebx, dword [ebp - 0xfa4]
lea eax, [ebp - 0x10a8]
mov dword [ebp - 0x10ac], eax
test ebx, ebx
jne 0x4436c1
mov dword [ebp - 0x10ac], ebx
jmp 0x44370a
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4436c6
sub esi, ecx
lea eax, [ebp - 0x10a8]
sar esi, 1
push ecx
inc esi
lea ecx, [ebp - 0x10ac]
push eax
mov edx, esi
call fcn.004207c0
mov ecx, dword [ebp - 0x10ac]
lea edx, [esi + esi]
push edx
push ebx
call fcn.00421100
push eax
call fcn.0043ad00
mov ebx, dword [ebp - 0x10ac]
add esp, 0x14
mov edx, ebx
mov esi, ebx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x443710
lea edi, [ebp - 0xf2c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x443726
mov ecx, edx
lea eax, [ebp - 0x10a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebx, eax
je 0x443753
push ebx
call fcn.004e43de
add esp, 4
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0xf30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443775
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0xf8c]
push 0x800
call fcn.004ddf90
push 0x800
mov esi, eax
push 0
push esi
call fcn.004e0970
mov dword [ebp - 0xfa0], 0x681f0014
lea ecx, [ebp - 0xf2c]
mov dword [ebp - 0xf9c], 0x871c5380
lea edx, [ecx + 2]
mov dword [ebp - 0xf98], 0x106942a0
mov eax, 0x800
mov dword [ebp - 0xf94], 0x8eaa2
add esp, 0x10
movups xmm0, xmmword [ebp - 0xfa0]
mov word [esi], ax
mov dword [ebp - 0xf90], 0x9d30302b
mov eax, dword [ebp - 0xf90]
movups xmmword [esi + 2], xmm0
mov dword [esi + 0x12], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4437f0
sub ecx, edx
mov dword [ebp - 0xf8c], 0x8061
sar ecx, 1
mov word [ebp - 0xf88], 0
lea eax, [ecx*2 + 0xc]
movzx eax, ax
lea ecx, [ebp - 0xf2c]
mov word [esi + 0x16], ax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0xf8c]
mov dword [esi + 0x18], eax
mov ax, word [ebp - 0xf88]
mov word [esi + 0x1c], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443840
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xf2c]
push eax
lea eax, [esi + 0x1e]
push eax
call fcn.004e0bc0
lea ecx, [ebp - 0xf2c]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443870
sub ecx, edx
xor eax, eax
sar ecx, 1
push ebx
push 1
lea ecx, [ecx*2 + 0x22]
mov word [ecx + esi], ax
add ecx, 2
push ecx
push esi
lea eax, [ecx - 2]
movzx eax, ax
mov dword [ebp - 0xf34], eax
mov word [esi], ax
call fcn.004e9b0b
add esp, 0x10
cmp eax, 1
je 0x4438be
push ebx
call fcn.004e9bd9
add esp, 4
jmp 0x443bdb
push 1
push esi
call fcn.004dda6f
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.004e0970
add esp, 0x14
lea eax, [ebp - 0x524]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x72c]
push 0
push eax
call fcn.004e0970
lea eax, [ebp - 0x10a8]
add esp, 0xc
lea esi, [ebp - 0x524]
mov dword [ebp - 0x10ac], eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x443920
sub esi, ecx
lea eax, [ebp - 0x10a8]
sar esi, 1
push ecx
inc esi
lea ecx, [ebp - 0x10ac]
push eax
mov edx, esi
call fcn.004207c0
mov ecx, dword [ebp - 0x10ac]
lea edx, [esi + esi]
push edx
lea eax, [ebp - 0x524]
push eax
call fcn.00421100
push eax
call fcn.0043ad00
sub esp, 0xf0
lea eax, [ebp - 0x72c]
mov edi, esp
lea esi, [ebp - 0x10ac]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push 0x613d1c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x10ac]
lea ecx, [ebp - 0x10a8]
add esp, 0x10c
cmp eax, ecx
je 0x4439a7
push eax
call fcn.004e43de
add esp, 4
lea ecx, [ebp - 0x72c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4439b0
sub ecx, edx
sar ecx, 1
push ebx
movzx eax, cx
push 1
mov dword [ebp - 0xf34], eax
lea eax, [ebp - 0xf34]
push 2
push eax
call fcn.004e9b0b
movzx eax, word [ebp - 0xf34]
push ebx
add eax, eax
push 1
push eax
lea eax, [ebp - 0x72c]
push eax
call fcn.004e9b0b
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.004e0970
mov edi, dword [ebp - 0xfa8]
add esp, 0x2c
test edi, edi
je 0x443b0d
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443a20
sub ecx, edx
sar ecx, 1
je 0x443aa5
mov esi, edi
lea eax, [ebp - 0x10a8]
mov dword [ebp - 0x10ac], eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x443a42
sub esi, ecx
lea eax, [ebp - 0x10a8]
sar esi, 1
push ecx
inc esi
lea ecx, [ebp - 0x10ac]
push eax
mov edx, esi
call fcn.004207c0
mov ecx, dword [ebp - 0x10ac]
lea edx, [esi + esi]
push edx
push edi
call fcn.00421100
push eax
call fcn.0043ad00
mov esi, dword [ebp - 0x10ac]
lea edx, [ebp - 0x31c]
add esp, 0x14
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x443a90
jmp 0x443b70
lea ecx, [ebp - 0xf30]
mov dword [ebp - 0xf30], 0
call fcn.00427700
mov byte [ebp - 4], 2
mov edx, 1
mov eax, dword [ebp - 0xf30]
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x443ae6
push 0
lea ecx, [ebp - 0xf30]
call fcn.00420ff0
mov eax, dword [ebp - 0xf30]
lea edx, [ebp - 0x31c]
sub edx, eax
nop
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x443af0
lea ecx, [ebp - 0xf30]
call fcn.004212a0
jmp 0x443b83
lea eax, [ebp - 0x10a8]
mov edx, 1
push ecx
push eax
lea ecx, [ebp - 0x10ac]
mov dword [ebp - 0x10ac], eax
call fcn.004207c0
mov ecx, dword [ebp - 0x10ac]
mov edx, 2
push 2
push 0x61378c
call fcn.00421100
push eax
call fcn.0043ad00
mov esi, dword [ebp - 0x10ac]
lea edx, [ebp - 0x31c]
add esp, 0x14
mov ecx, esi
sub edx, esi
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x443b60
lea eax, [ebp - 0x10a8]
cmp esi, eax
je 0x443b83
push esi
call fcn.004e43de
add esp, 4
lea ecx, [ebp - 0x31c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443b90
sub ecx, edx
sar ecx, 1
push ebx
movzx eax, cx
push 1
mov dword [ebp - 0xf34], eax
lea eax, [ebp - 0xf34]
push 2
push eax
call fcn.004e9b0b
movzx eax, word [ebp - 0xf34]
push ebx
add eax, eax
push 1
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004e9b0b
push ebx
call fcn.004e9bd9
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0xf38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443c00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004dda5e
mov esp, ebp
pop ebp
ret