Function at 0x10a3bdd
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor esi, esi
push esi
push esi
lea edi, [ecx + 0x292c]
push 0xe
push dword [edi]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 1
call ebx
lea eax, [eax + eax + 2]
push eax
call fcn.0105f04e
cmp eax, esi
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
je 0x10a3ea9
push esi
push esi
push 0xe
push dword [edi]
call ebx
inc eax
push eax
push dword [ebp - 8]
mov ecx, edi
call fcn.010b24cc
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x2da4]
dec eax
je 0x10a3e36
dec eax
je 0x10a3cc2
dec eax
jne 0x10a3e9e
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10a3ca5
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 0x14]
push eax
push 2
push 0x1018380
push ebx
call edi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp - 8]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10a3e9e
push 0x9c53
lea ecx, [ebp - 0x228]
call fcn.0103d18c
lea eax, [ebp - 0x228]
mov ecx, edi
jmp 0x10a3e93
cmp dword [ebp + 0xc], esi
je 0x10a3dcc
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp - 8]
push esi
push esi
call ebx
cmp eax, esi
mov dword [ebp - 0x24], eax
mov dword [ebp + 0xc], esi
je 0x10a3e9e
lea edi, [eax + 1]
push edi
call fcn.0105f04e
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
je 0x10a3d36
mov ecx, edi
mov edi, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp - 0x24]
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp - 8]
push esi
push esi
call ebx
test eax, eax
jne 0x10a3d36
push dword [ebp - 4]
call fcn.0105eff6
pop ecx
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x10a3d5a
mov eax, dword [ebp - 0x10]
push esi
push esi
push 0x31
push 0x9d77
push dword [eax + 0x2614]
call fcn.01062c09
cmp eax, 1
je 0x10a3d5a
mov dword [ebp - 0xc], esi
cmp dword [ebp - 4], esi
je 0x10a3e9e
cmp dword [ebp - 0xc], esi
je 0x10a3e26
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10a3da9
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10a3e26
push 0x9c53
lea ecx, [ebp - 0x42c]
call fcn.0103d18c
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
push eax
call fcn.0109f905
jmp 0x10a3e26
push dword [ebp - 8]
lea ecx, [ebp - 0x20]
call fcn.010644d9
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10a3e1e
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.010645a9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x20]
call fcn.010645a9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call fcn.01064519
cmp dword [ebp - 4], esi
je 0x10a3e9e
push dword [ebp - 4]
call fcn.0105eff6
pop ecx
jmp 0x10a3e9e
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10a3e7a
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push 2
push 0x44a
push dword [eax + 0x261c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0x10a03ef
call ebx
push edi
jmp 0x10a3c9a
push 0x9c53
lea ecx, [ebp - 0x630]
call fcn.0103d18c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x630]
push 0xffffffffffffffff
push eax
call fcn.0109f905
mov dword [ebp - 0xc], esi
push dword [ebp - 8]
call fcn.0105eff6
pop ecx
jmp 0x10a3eac
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8