Function at 0x41f3e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5f98
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x50a360]
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 esi, ecx
mov dword [ebp - 0x28], esi
call fcn.0046c2c1
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41f42c
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [esi + 0x190]
mov dword [ebp - 4], ebx
call fcn.00456f80
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp dword [edx - 0xc], ebx
jne 0x41f4d3
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x5078ec]
push ecx
lea edx, [ebp - 0x1c]
push str._s_save_to_local:_the_path_is_empty.
push edx
call fcn.00401cb0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
add edx, 0x9e
add esp, 0xc
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x41f485
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f4b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41f903
call fcn.0046c2c1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41f4ed
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0046c2c1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41f524
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0xc]
add edi, 0x1c
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x41f56d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41f557
xor ebx, ebx
jmp 0x41f56d
lea eax, [esi + esi]
call fcn.004947d0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004010d0
mov ebx, eax
mov edi, dword [ebp + 0xc]
add edi, 0x5d
jne 0x41f579
xor eax, eax
jmp 0x41f5a3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41f58f
xor eax, eax
jmp 0x41f5a3
lea eax, [esi + esi]
call fcn.004947d0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004010d0
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x2008], 0
je 0x41f61d
test ebx, ebx
je 0x41f5d3
mov ecx, ebx
lea esi, [ecx + 2]
jmp 0x41f5c0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41f5c0
sub ecx, esi
sar ecx, 1
mov esi, ebx
jne 0x41f5d5
mov esi, eax
test ebx, ebx
je 0x41f5f6
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f5e0
sub eax, edx
sar eax, 1
mov ecx, 0x4bfe30
jne 0x41f5fb
mov ecx, str.IMEI
mov eax, dword [ebp + 8]
mov edx, dword [eax*4 + 0x5078ec]
lea eax, [eax*4 + 0x5078ec]
push edx
push esi
push ecx
mov dword [ebp - 0x28], eax
push 0x4c6250
lea eax, [ebp - 0x14]
push eax
jmp 0x41f63c
mov ecx, dword [ebp + 8]
lea ecx, [ecx*4 + 0x5078ec]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
push ecx
push eax
push str.IMEI
push 0x4c6250
lea edx, [ebp - 0x14]
push edx
call fcn.00401cb0
movzx eax, word [ebp - 0x2e]
movzx ecx, word [ebp - 0x30]
movzx edx, word [ebp - 0x32]
add esp, 0x14
push eax
movzx eax, word [ebp - 0x34]
push ecx
movzx ecx, word [ebp - 0x36]
push edx
movzx edx, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
lea eax, [ebp - 0x20]
push str._s_s__4d__02d__02d__02d__02d__02d__03d
push eax
call fcn.00401cb0
add esp, 0x2c
lea ecx, [ebp - 0x54]
call fcn.00475e73
mov ebx, 4
mov byte [ebp - 4], bl
lea edi, [ebx - 3]
push str..bin
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00418700
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00475f0b
mov esi, eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x41f753
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41f422
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push edi
lea ecx, [ebp - 0x2c]
push str.__d_
push ecx
mov byte [ebp - 4], 6
call fcn.00401cb0
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
lea ecx, [ebp - 0x20]
inc edi
call fcn.00401ab0
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f693
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41f693
push ebx
push str..bin
lea ecx, [ebp - 0x20]
call fcn.00401ab0
lea ecx, [ebp - 0x54]
call fcn.00475a58
mov edi, dword [ebp - 0x20]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
je 0x41f84d
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00475e9c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f802
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f824
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41f843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41f911
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edi
push edx
lea eax, [ebp - 0x1c]
push str._save__s_to_local__Create_file___s__fail.
push eax
call fcn.00401cb0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
add edx, 0x9e
add esp, 0x10
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41f875
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00475e9c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41f90f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0x64]
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.004945a7
mov esp, ebp
pop ebp
ret 0x10