Function at 0x10001d10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100146eb
push eax
mov eax, 0x10594
mov dword fs:[0], esp
call fcn.100046f0
mov eax, dword [esp + 0x105a8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x80
push 2
push ebx
push 7
push 0xc0000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [0x1001e55c], eax
je 0x100022b0
mov ecx, dword [esp + 0x105ac]
push ebx
push 0x80
push 3
push ebx
push 7
push 0xc0000000
push ecx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x100022b0
push 0x1001a198
push ebx
push ebx
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esp + 8], eax
je 0x100022b0
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x100022b0
push ebp
push edi
push 0x1001e564
lea ecx, [esp + 0x18]
call fcn.1000f341
lea edx, [esp + 0x14]
mov ecx, 0x41
xor eax, eax
mov edi, 0x1001e448
push edx
push esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x105b4], ebx
call fcn.100011d0
add esp, 8
mov al, byte [0x1001e560]
mov ecx, 0x40
mov byte [esp + 0x194], al
xor eax, eax
lea edi, [esp + 0x195]
mov edx, dword [0x1001a190]
rep stosd dword es:[edi], eax
mov ecx, dword [0x1001a18c]
mov dword [esp + 0x29c], edx
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ax, word [0x1001a194]
mov dword [esp + 0x298], ecx
mov word [esp + 0x2a0], ax
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x2a2]
rep stosd dword es:[edi], eax
test ebx, ebx
stosw word es:[edi], ax
je 0x10001e5c
push ebx
lea ecx, [esp + 0x18]
call fcn.1000f3ba
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrA]
lea ecx, [esp + 0x298]
push ecx
push edx
call esi
mov ebx, eax
test ebx, ebx
je 0x100021a4
push 0x1001a0cc
push ebx
call esi
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x100021a4
mov al, byte [0x1001e560]
mov ecx, 0x18
mov byte [esp + 0x2c], al
xor eax, eax
lea edi, [esp + 0x2d]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x298]
push ecx
stosb byte es:[edi], al
call esi
sub ebp, ebx
sub ebp, eax
test ebp, ebp
jle 0x100020d3
cmp ebp, 0x63
jae 0x100020d3
lea edx, [esp + 0x298]
push edx
call esi
mov ecx, ebp
mov esi, eax
mov eax, ecx
add esi, ebx
lea edi, [esp + 0x2c]
mov edx, 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x1001e560]
lea edi, [esp + 0x91]
mov byte [esp + 0x90], cl
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0x90]
cmp byte [ecx], 0
je 0x10001f2a
inc ecx
dec edx
jne 0x10001f1f
jmp 0x10001f57
test edx, edx
je 0x10001f57
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x10001f3d
mov eax, 0x104
sub eax, edx
mov edx, 0x104
push 0x1001a180
sub edx, eax
lea eax, [esp + eax + 0x94]
push edx
push eax
call fcn.100023a0
xor eax, eax
mov edx, 0x104
lea ecx, [esp + 0x90]
cmp byte [ecx], 0
je 0x10001f70
inc ecx
dec edx
jne 0x10001f65
jmp 0x10001f9d
test edx, edx
je 0x10001f9d
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x10001f83
mov eax, 0x104
sub eax, edx
lea edx, [esp + 0x2c]
mov ecx, 0x104
push edx
sub ecx, eax
lea edx, [esp + eax + 0x94]
push ecx
push edx
call fcn.100023a0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x90]
push eax
push 0x104
push ecx
mov dword [esp + 0x24], 0
call fcn.100023f0
test eax, eax
jl 0x10001fde
mov eax, dword [esp + 0x18]
mov edx, 0x104
sub edx, eax
push str..user
lea eax, [esp + eax + 0x94]
push edx
push eax
call fcn.100023a0
xor eax, eax
mov edx, 0x104
lea ecx, [esp + 0x90]
cmp byte [ecx], 0
je 0x10001ff7
inc ecx
dec edx
jne 0x10001fec
jmp 0x10002024
test edx, edx
je 0x10002024
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x1000200a
mov eax, 0x104
sub eax, edx
mov edx, 0x104
push str._r_n_r_n
sub edx, eax
lea eax, [esp + eax + 0x94]
push edx
push eax
call fcn.100023a0
mov cl, byte [0x1001e560]
xor eax, eax
mov byte [esp + 0x4a0], cl
mov ecx, 0x40
lea edi, [esp + 0x4a1]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
push str._s.user
lea eax, [esp + 0x4a8]
push 0x104
push eax
call fcn.10002330
lea edx, [esp + 0x4b0]
lea ecx, [esp + 0x1a4]
add esp, 0x10
mov esi, 0x104
lea eax, [esp + 0x194]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x1000208e
mov byte [eax], cl
inc eax
dec esi
jne 0x1000207f
jmp 0x10002092
test esi, esi
jne 0x10002093
dec eax
mov edx, dword [0x1001e55c]
push 2
push 0
push 0
push edx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [0x1001e55c]
lea edx, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0x10
mov esi, str.
lea edi, [esp + 0x39c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x30
lea edi, [esp + 0x3dd]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x39c]
stosw word es:[edi], ax
lea esi, [ecx + 3]
push edx
push esi
stosb byte es:[edi], al
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov ebx, eax
test ebx, ebx
je 0x100021a4
mov al, byte [0x1001e560]
mov ecx, 0x3fff
mov byte [esp + 0x5a4], al
xor eax, eax
lea edi, [esp + 0x5a5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x39c]
push ecx
call edi
mov ebp, ebx
sub ebp, esi
sub ebp, eax
sub ebp, 3
test ebp, ebp
jle 0x10001df5
cmp ebp, 0xfffe
jae 0x10001df5
lea edx, [esp + 0x39c]
push edx
call edi
mov ecx, ebp
lea esi, [eax + esi + 3]
mov eax, ecx
lea edi, [esp + 0x5a4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x5a4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x194]
push ecx
push edx
call fcn.10001750
jmp 0x10001df2
mov eax, dword [0x1001e558]
test eax, eax
je 0x1000226b
mov eax, dword [0x1001e554]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [eax]
cmp esi, eax
je 0x10002245
mov al, byte [0x1001e560]
mov ecx, 0x40
mov byte [esp + 0x194], al
xor eax, eax
lea edi, [esp + 0x195]
lea edx, [esp + 0x194]
rep stosd dword es:[edi], eax
lea ecx, [esi + 8]
stosw word es:[edi], ax
push ecx
push str.QQ_Number_Mark:_s_n
push 0x104
push edx
stosb byte es:[edi], al
call fcn.10002330
mov eax, dword [0x1001e55c]
add esp, 0x10
push 2
push 0
push 0
push eax
call ebx
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x198]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x1001e55c]
push eax
lea eax, [esp + 0x1a0]
push eax
push ecx
call ebp
mov esi, dword [esi]
mov eax, dword [0x1001e554]
cmp esi, eax
jne 0x100021c8
mov edx, dword [0x1001e55c]
push 2
push 0
push 0
push edx
call ebx
mov ecx, dword [0x1001e55c]
lea eax, [esp + 0x1c]
push 0
push eax
push 8
push str.End_Mark
push ecx
call ebp
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0x1001e55c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
pop edi
pop ebp
je 0x1000228a
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10002295
push eax
call esi
mov eax, dword [esp + 8]
push eax
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x105a4], 0xffffffff
call fcn.1000f281
mov ecx, dword [esp + 0x1059c]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x105a0
ret