Function at 0x10a3b3d
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 sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
je 0x10a3e09
push esi
push esi
push 0xe
push dword [edi]
call ebx
inc eax
push eax
push dword [ebp - 8]
mov ecx, edi
call fcn.010b2423
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x2da4]
dec eax
je 0x10a3d96
dec eax
je 0x10a3c22
dec eax
jne 0x10a3dfe
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 0x10a3c05
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 0x14]
push eax
push 2
push 0x1018368
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 0x10a3dfe
push 0x9c53
lea ecx, [ebp - 0x228]
call fcn.0103d0ec
lea eax, [ebp - 0x228]
mov ecx, edi
jmp 0x10a3df3
cmp dword [ebp + 0xc], esi
je 0x10a3d2c
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 0x10a3dfe
lea edi, [eax + 1]
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
je 0x10a3c96
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 0x10a3c96
push dword [ebp - 4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x10a3cba
mov eax, dword [ebp - 0x10]
push esi
push esi
push 0x31
push 0x9d77
push dword [eax + 0x2614]
call fcn.01062b69
cmp eax, 1
je 0x10a3cba
mov dword [ebp - 0xc], esi
cmp dword [ebp - 4], esi
je 0x10a3dfe
cmp dword [ebp - 0xc], esi
je 0x10a3d86
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 0x10a3d09
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 0x10a3d86
push 0x9c53
lea ecx, [ebp - 0x42c]
call fcn.0103d0ec
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
push eax
call fcn.0109f865
jmp 0x10a3d86
push dword [ebp - 8]
lea ecx, [ebp - 0x20]
call fcn.01064439
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 0x10a3d7e
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.01064509
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x20]
call fcn.01064509
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.01064479
cmp dword [ebp - 4], esi
je 0x10a3dfe
push dword [ebp - 4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10a3dfe
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 0x10a3dda
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], 0x10a034f
call ebx
push edi
jmp 0x10a3bfa
push 0x9c53
lea ecx, [ebp - 0x630]
call fcn.0103d0ec
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x630]
push 0xffffffffffffffff
push eax
call fcn.0109f865
mov dword [ebp - 0xc], esi
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10a3e0c
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8