Function at 0x4462df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
push ecx
lea ecx, [ebp - 0x64]
call fcn.0042e119
lea eax, [ebp + 8]
push eax
call fcn.00426ff7
pop ecx
lea ecx, [ebp - 0x50]
call fcn.0042c3f7
lea ecx, [ebp - 0x28]
call fcn.0042c3f7
lea ecx, [ebp - 0x4c]
call fcn.0042c3f7
lea ecx, [ebp - 0x14]
call fcn.0042c3f7
mov eax, dword [ebp + 8]
push 1
mov dword [ebp - 0x1c], eax
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00440583
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.0042e8ac
mov esi, dword [ebp - 0x50]
xor eax, eax
mov ax, word [esi]
add esp, 0xc
xor edi, edi
cmp ax, bx
mov byte [ebp - 2], bl
mov byte [ebp - 5], bl
mov ecx, esi
je 0x446379
call fcn.00426fde
test al, al
je 0x446366
mov edi, ecx
inc ecx
inc ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x44635b
cmp edi, ebx
je 0x446379
mov word [edi], bx
inc edi
inc edi
cmp edi, ebx
mov eax, esi
mov dword [ebp + 8], eax
je 0x4463dc
cmp word [esi], 0x2a
jne 0x4463dc
cmp word [eax + 2], 0x2d
je 0x4463dc
push 6
lea eax, [ebp + 8]
push eax
push str.nobom
call fcn.0042df66
add esp, 0xc
test al, al
je 0x4463ac
mov byte [ebp - 5], 1
jmp 0x4463d3
push 0xa
lea eax, [ebp + 8]
push eax
push str.transonly
call fcn.0042df66
add esp, 0xc
test al, al
je 0x4463c9
mov byte [ebp - 2], 1
jmp 0x4463d3
lea eax, [ebp + 8]
push eax
call fcn.00403c51
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x446388
cmp edi, ebx
mov byte [ebp - 4], 0
mov byte [ebp - 7], 0
mov byte [ebp - 6], 0
mov byte [ebp + 0xb], 0
mov byte [ebp - 8], 0
mov byte [ebp - 3], 0
je 0x446414
push edi
lea ecx, [ebp - 0x48]
call fcn.004361de
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], esi
mov esi, eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], esi
call fcn.0042704a
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x2c
lea eax, [ecx + 2]
mov dword [ebp - 0x58], eax
jne 0x446444
push 1
mov dword [ebp - 0x1c], eax
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00440583
push ebx
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0042e968
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x2c
jne 0x44646f
add dword [ebp - 0x1c], 2
push 1
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00440583
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.0042e8ac
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x2c
jne 0x44649a
add dword [ebp - 0x1c], 2
push 1
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00440583
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0042e8ac
add esp, 0xc
mov ax, word [esi]
cmp ax, bx
je 0x446bb8
mov ecx, dword [ebp - 0x28]
cmp word [ecx], bx
je 0x446bb8
mov ecx, dword [ebp - 0x4c]
cmp word [ecx], bx
je 0x446bb8
mov edx, dword [ebp - 0x14]
cmp word [edx], bx
je 0x446bb8
xor edi, edi
cmp ax, 0x2a
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
mov ebx, ecx
mov byte [ebp - 1], 0
jne 0x446511
cmp word [esi + 2], ax
jne 0x446501
mov byte [ebp - 4], al
mov byte [ebp - 6], al
add esi, 4
jmp 0x446514
cmp ax, 0x2a
jne 0x446511
mov al, byte [esi]
mov byte [ebp - 4], al
add esi, 2
jmp 0x446514
mov al, byte [ebp - 7]
cmp word [esi], 0x2d
jne 0x44651e
mov al, byte [esi]
inc esi
inc esi
test al, al
jne 0x44652c
mov esi, 0x80070057
jmp 0x446bbb
push esi
push 0x4875d0
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x446546
mov byte [ebp - 1], 1
jmp 0x446659
push esi
push str.ANSI
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x44655f
mov dword [ebp - 0x20], edi
jmp 0x446659
push esi
push 0x4875cc
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x44657c
mov dword [ebp - 0x20], 0x3a8
jmp 0x446659
push esi
push str.BIG5
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x446599
mov dword [ebp - 0x20], 0x3b6
jmp 0x446659
push esi
push str.UTF8
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x4465b6
mov dword [ebp - 0x20], 0xfde9
jmp 0x446659
push esi
push str.UTF7
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x4465d3
mov dword [ebp - 0x20], 0xfde8
jmp 0x446659
push esi
push str.UNICODE
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x4465ed
mov dword [ebp - 0x18], 0x4b0
jmp 0x446659
push esi
push 0x481414
call fcn.00427f44
test al, al
pop ecx
pop ecx
jne 0x4465e4
push esi
push str.UNICODEB
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x446618
mov dword [ebp - 0x18], 0x4b1
jmp 0x446659
push esi
push str.UNIB
call fcn.00427f44
test al, al
pop ecx
pop ecx
jne 0x44660f
xor ecx, ecx
mov cx, word [esi]
push ecx
call fcn.0040ee76
add esp, 4
test al, al
je 0x446647
push esi
call fcn.0042ce79
pop ecx
mov dword [ebp - 0x20], eax
jmp 0x446659
cmp cx, di
jne 0x446522
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x4c]
mov ax, word [edx]
cmp ax, 0x2a
jne 0x44668a
cmp word [edx + 2], ax
jne 0x446678
mov byte [ebp + 0xb], al
mov cl, al
mov byte [ebp - 3], al
lea ebx, [edx + 4]
jmp 0x44668d
cmp ax, 0x2a
jne 0x44668a
mov al, byte [edx]
mov byte [ebp + 0xb], al
mov cl, al
lea ebx, [edx + 2]
jmp 0x44668d
mov cl, byte [ebp - 8]
cmp word [ebx], 0x2d
jne 0x446697
mov cl, byte [ebx]
inc ebx
inc ebx
test cl, cl
je 0x446522
push ebx
push str.ANSI
call fcn.00427f44
test al, al
pop ecx
pop ecx
mov esi, 0x4848d8
mov edi, 0x4848dc
je 0x4466c3
and dword [ebp - 0x2c], 0
jmp 0x4467d8
push ebx
push 0x4875cc
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x4466e0
mov dword [ebp - 0x2c], 0x3a8
jmp 0x4467d8
push ebx
push str.BIG5
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x4466fd
mov dword [ebp - 0x2c], 0x3b6
jmp 0x4467d8
push ebx
push str.UTF8
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x446728
mov dword [ebp - 0x2c], 0xfde9
mov dword [ebp - 0x30], 0x4848e0
mov dword [ebp - 0x3c], 3
jmp 0x4467d8
push ebx
push str.UTF7
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x446745
mov dword [ebp - 0x2c], 0xfde8
jmp 0x4467d8
push ebx
push str.UNICODE
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x446769
mov dword [ebp - 0x34], 0x4b0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], 2
jmp 0x4467d8
push ebx
push 0x481414
call fcn.00427f44
test al, al
pop ecx
pop ecx
jne 0x446756
push ebx
push str.UNICODEB
call fcn.00427f44
test al, al
pop ecx
pop ecx
jne 0x44679c
push ebx
push str.UNIB
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x4467a8
mov dword [ebp - 0x34], 0x4b1
mov dword [ebp - 0x30], edi
jmp 0x446760
xor ecx, ecx
mov cx, word [ebx]
push ecx
call fcn.0040ee76
add esp, 4
test al, al
je 0x4467c6
push ebx
call fcn.0042ce79
pop ecx
mov dword [ebp - 0x2c], eax
jmp 0x4467d8
test cx, cx
jne 0x446522
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
xor esi, esi
cmp byte [ebp - 5], 0
je 0x4467e3
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], esi
call fcn.0042c281
xor edi, edi
cmp byte [ebp - 4], 0
mov byte [ebp - 5], 0
jne 0x44697e
mov eax, dword [ebp - 0x58]
push 1
mov dword [ebp - 0x1c], eax
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x40], esi
call fcn.00440583
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0042e8ac
push dword [ebp - 0x28]
call fcn.0040ce49
add esp, 0x10
push esi
push 0x80
push 3
push esi
push 7
push 0x80000000
push eax
lea ecx, [ebp - 0x40]
call fcn.00403c6d
mov edi, dword [ebp - 0x40]
cmp edi, esi
jne 0x44685a
lea ecx, [ebp - 0x40]
call fcn.0040296e
jmp 0x446ba8
push 2
xor esi, esi
push esi
push esi
push edi
call fcn.00427e7e
push 1
push esi
push esi
push edi
call fcn.00427e7e
push esi
push esi
push esi
push edi
mov ebx, eax
call fcn.00427e7e
add esp, 0x30
lea eax, [ebx + 0xa]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c2c5
mov esi, dword [ebp - 0xc]
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
mov byte [esi + 2], 0
mov byte [esi + 1], 0
push esi
mov byte [esi], 0
or dword [ebp - 0x54], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x54]
test eax, eax
mov edi, eax
jl 0x44684d
and dword [ebp - 0x38], 0
add eax, esi
cmp byte [ebp - 1], 0
mov byte [eax + 2], 0
mov byte [eax + 1], 0
mov byte [eax], 0
jne 0x4468d4
cmp dword [ebp - 0x18], 0x4b0
jne 0x4468fe
push 2
push 0x4848d8
push esi
call fcn.0042705d
add esp, 0xc
test eax, eax
jne 0x4468f8
mov dword [ebp - 0x18], 0x4b0
mov dword [ebp - 0x38], 2
jmp 0x446955
cmp byte [ebp - 1], 0
jne 0x446907
cmp dword [ebp - 0x18], 0x4b1
jne 0x44692a
push 2
push 0x4848dc
push esi
call fcn.0042705d
add esp, 0xc
test eax, eax
jne 0x446924
mov dword [ebp - 0x18], 0x4b1
jmp 0x4468ef
cmp byte [ebp - 1], 0
jne 0x446933
cmp dword [ebp - 0x20], 0xfde9
jne 0x44696a
push 3
push 0x4848e0
push esi
call fcn.0042705d
add esp, 0xc
test eax, eax
jne 0x44696a
mov dword [ebp - 0x20], 0xfde9
mov dword [ebp - 0x38], 3
mov eax, dword [ebp - 0x38]
sub ebx, eax
add ebx, 3
push ebx
add eax, esi
push eax
push esi
call fcn.0046ca60
add esp, 0xc
sub edi, dword [ebp - 0x38]
jns 0x446971
xor edi, edi
lea ecx, [ebp - 0x40]
call fcn.0040296e
jmp 0x446a2b
cmp byte [ebp - 6], 0
je 0x4469e7
mov ecx, dword [ebp - 0x24]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00402a5b
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x28]
call fcn.0040af39
mov esi, eax
cmp esi, ebx
lea ecx, [ebp - 0xc]
je 0x4469cc
mov edi, dword [esi + 0xc]
lea eax, [edi + 8]
push eax
call fcn.0042c2c5
push edi
push dword [esi + 4]
mov esi, dword [ebp - 0xc]
push esi
call fcn.0046c720
add esp, 0xc
mov byte [ebp - 5], 1
jmp 0x4469d6
push 8
call fcn.0042c2c5
mov esi, dword [ebp - 0xc]
push 8
lea eax, [edi + esi]
push ebx
push eax
call fcn.0046c4e0
add esp, 0xc
jmp 0x446a2b
cmp dword [ebp - 0x48], esi
je 0x446a14
push 0xffffffffffffffff
push dword [ebp - 0x28]
lea ecx, [ebp - 0xc]
call fcn.0042c51d
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
shl edi, 1
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c2c5
jmp 0x446a24
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
push eax
call fcn.0042faa5
pop ecx
pop ecx
mov edi, eax
mov esi, dword [ebp - 0xc]
mov byte [ebp - 5], 2
test edi, edi
jl 0x446ba8
cmp byte [ebp - 1], 0
je 0x446ab6
cmp byte [ebp - 5], 0
je 0x446ab6
push 2
push 0x4848d8
push esi
xor ebx, ebx
call fcn.0042705d
add esp, 0xc
test eax, eax
push 2
jne 0x446a60
mov dword [ebp - 0x18], 0x4b0
jmp 0x446a9a
push 0x4848dc
push esi
call fcn.0042705d
add esp, 0xc
test eax, eax
jne 0x446a7d
mov dword [ebp - 0x18], 0x4b1
push 2
jmp 0x446a9a
push 3
push 0x4848e0
push esi
call fcn.0042705d
add esp, 0xc
test eax, eax
jne 0x446ab0
mov dword [ebp - 0x20], 0xfde9
push 3
pop ebx
mov eax, edi
sub eax, ebx
add eax, 4
push eax
lea eax, [ebx + esi]
push eax
push esi
call fcn.0046ca60
add esp, 0xc
sub edi, ebx
jns 0x446ab6
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x58], esi
call fcn.0042c3f7
mov ebx, dword [ebp - 0x2c]
cmp ebx, dword [ebp - 0x20]
jne 0x446b54
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x18]
jne 0x446b54
cmp byte [ebp - 3], 0
je 0x446af6
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.0043a84b
add esp, 0x18
jmp 0x446b38
cmp byte [ebp + 0xb], 0
jne 0x446b08
push edi
push esi
lea ecx, [ebp - 0x10]
call fcn.00426f69
jmp 0x446b38
cmp dword [ebp - 0x44], 0
jne 0x446b21
push edi
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0042fa1e
add esp, 0xc
push dword [ebp - 0x1c]
jmp 0x446b2d
cmp dword [ebp - 0x48], 0
je 0x446b2c
push dword [ebp - 0x28]
jmp 0x446b2d
push esi
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
call fcn.0042af0d
lea ecx, [ebp - 0x1c]
call fcn.0042704a
lea ecx, [ebp - 0xc]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0040296e
xor esi, esi
jmp 0x446bbb
cmp dword [ebp - 0x18], 0x4b1
jne 0x446b70
push edi
push esi
mov dword [ebp - 0x18], 0x4b0
call fcn.0042a08e
pop ecx
pop ecx
and edi, 0xfffffffe
cmp byte [ebp + 0xb], 0
jne 0x446bec
push dword [ebp - 0x14]
call fcn.0040ce49
pop ecx
push 0
push 0x80
push 4
push 0
push 7
push 0x40000000
push eax
lea ecx, [ebp - 0x10]
call fcn.00403c6d
cmp dword [ebp - 0x10], 0
jne 0x446bec
lea ecx, [ebp - 0x1c]
call fcn.0042704a
lea ecx, [ebp - 0xc]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0040296e
xor esi, esi
inc esi
lea ecx, [ebp - 0x14]
call fcn.0042704a
lea ecx, [ebp - 0x4c]
call fcn.0042704a
lea ecx, [ebp - 0x28]
call fcn.0042704a
lea ecx, [ebp - 0x50]
call fcn.0042704a
lea ecx, [ebp - 0x64]
call fcn.0042704a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
and dword [ebp - 0x48], 0
mov eax, 0x3a8
cmp ebx, eax
mov ebx, 0x3b6
jne 0x446c03
cmp dword [ebp - 0x20], ebx
je 0x446c0d
cmp dword [ebp - 0x20], eax
jne 0x446c7b
cmp dword [ebp - 0x2c], ebx
jne 0x446c7b
cmp byte [ebp - 2], 0
je 0x446c17
mov byte [ebp - 2], 3
lea ecx, [ebp - 0x40]
call fcn.0042c281
xor eax, eax
cmp dword [ebp - 0x2c], ebx
sete al
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0042fb40
mov eax, esi
mov esi, dword [ebp - 0x40]
add esp, 0xc
push esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp - 2], 3
mov edi, eax
mov dword [ebp - 0x38], esi
jne 0x446c73
cmp byte [ebp + 0xb], 0
jne 0x446c73
test edi, edi
jle 0x446c66
push edi
push esi
lea ecx, [ebp - 0x10]
call fcn.00426f69
lea ecx, [ebp - 0x40]
call fcn.0042704a
jmp 0x446e33
lea ecx, [ebp - 0x40]
call fcn.0042704a
mov ebx, edi
shr ebx, 1
cmp dword [ebp - 0x18], 0
jne 0x446cbe
lea ebx, [edi + 0xa]
lea eax, [ebx + 0xa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042c43e
push ebx
push dword [ebp - 0x1c]
push edi
push esi
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
jge 0x446cad
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
lea edi, [ebx + ebx]
and word [eax + edi], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x34], 0x4b1
jne 0x446cd2
push edi
push dword [ebp - 0x38]
call fcn.0042a08e
pop ecx
pop ecx
xor eax, eax
cmp dword [ebp - 0x34], eax
jle 0x446d83
cmp byte [ebp - 3], al
je 0x446d20
xor esi, esi
push esi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x38]
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.0043a84b
add esp, 0x18
lea ecx, [ebp - 0x48]
call fcn.0042704a
lea ecx, [ebp - 0x1c]
call fcn.0042704a
lea ecx, [ebp - 0xc]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0040296e
jmp 0x446bbb
cmp byte [ebp + 0xb], 0
jne 0x446d4b
cmp edi, eax
jle 0x446e33
cmp dword [ebp - 0x30], 0
je 0x446d42
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x30]
call fcn.00426f69
push edi
push dword [ebp - 0x38]
jmp 0x446de8
cmp dword [ebp - 0x44], eax
jne 0x446d88
lea ecx, [ebp + 8]
call fcn.0042c3f7
push ebx
push dword [ebp - 0x38]
lea eax, [ebp + 8]
push eax
call fcn.0042fa7f
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0042af0d
lea ecx, [ebp + 8]
call fcn.0042704a
jmp 0x446e33
cmp dword [ebp - 0x44], eax
je 0x446d90
push dword [ebp - 0x58]
jmp 0x446e28
shr edi, 1
lea esi, [edi + edi*2]
lea esi, [esi + esi + 0xa]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x48]
call fcn.0042c2c5
mov ebx, dword [ebp - 0x48]
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jge 0x446dc4
xor esi, esi
cmp byte [ebp + 0xb], 0
mov byte [ebx + esi], 0
jne 0x446df2
test esi, esi
jle 0x446e33
cmp dword [ebp - 0x30], 0
je 0x446de6
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x30]
call fcn.00426f69
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.00426f69
jmp 0x446e33
cmp byte [ebp - 3], 0
je 0x446e17
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.0043a84b
add esp, 0x18
jmp 0x446e33
push esi
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0042fa1e
add esp, 0xc
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
call fcn.0042af0d
xor esi, esi
cmp dword [ebp - 0x10], esi
je 0x446cfb
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x446cfb