Function at 0x41b8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4ad780]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x18]
xor edi, edi
push edx
add ecx, 0x93c
mov dword [ebp - 4], edi
call fcn.00430110
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp dword [eax - 8], edi
jne 0x41b97c
lea ecx, [ebp - 0x14]
push str.NV_save_to_local:_the_path_is_empty.
push ecx
call fcn.00451685
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
add eax, 0x56
push edx
push eax
call fcn.0043f59c
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004584d6
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004584d6
mov eax, 0x80004005
jmp 0x41bbc8
mov ecx, dword [0x4ad780]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 2
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp + 8]
mov ebx, 3
add eax, 0x3d
cmp eax, edi
je 0x41b9d4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, ebx
and al, 0xfc
call fcn.0043f620
mov ecx, dword [ebp + 8]
mov edi, esp
push esi
push edi
lea eax, [ecx + 0x3d]
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x26]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2a]
and edx, 0xffff
push edx
mov edx, dword [ebp - 0x2c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [ebp - 0x2e]
and edx, 0xffff
push ecx
mov ecx, dword [ebp - 0x32]
push edx
mov edx, dword [ebp - 0x34]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [ebp - 0x18]
and edx, 0xffff
push ecx
push edx
push edi
push eax
lea ecx, [ebp - 0x10]
push str._sNV_IMEI_s__4d__02d__02d__02d__02d__02d__03d
push ecx
call fcn.00451685
add esp, 0x2c
lea ecx, [ebp - 0x50]
call fcn.004372eb
lea edx, [ebp - 0x10]
push str..bin
lea eax, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], bl
mov esi, 1
call fcn.0045877b
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004373b0
lea ecx, [ebp - 0x20]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.004584d6
test edi, edi
je 0x41badf
mov ecx, dword [0x4ad780]
mov dword [ebp - 0x1c], ecx
mov eax, esi
lea edx, [ebp - 0x1c]
push eax
push str.__d_
push edx
mov byte [ebp - 4], 5
inc esi
call fcn.00451685
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
call fcn.0045888f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004584d6
lea ecx, [ebp - 0x10]
push str..bin
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.0045877b
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004373b0
lea ecx, [ebp - 0x20]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.004584d6
test edi, edi
jne 0x41ba72
push str..bin
lea ecx, [ebp - 0x10]
call fcn.00458853
lea ecx, [ebp - 0x50]
call fcn.00437366
mov eax, dword [ebp - 0x10]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x41bb72
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push 0
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0043732a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004584d6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004584d6
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.004584d6
mov eax, 1
jmp 0x41bbc8
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push ecx
push str._save_nv_to_local__Create_file___s__fail.
push edx
call fcn.00451685
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
add ecx, 0x56
push eax
push ecx
call fcn.0043f59c
add esp, 0x14
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0043732a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004584d6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004584d6
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.004584d6
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc