Function at 0x10abc57
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10b1058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x104
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], 0x10a5b90
lea ebx, [edi - 1]
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x10abf61
test esi, esi
jne 0x10abca2
xor eax, eax
jmp 0x10abcb0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abca7
sub eax, edx
inc eax
cmp eax, edi
jae 0x10abcce
test esi, esi
jne 0x10abcbd
xor eax, eax
jmp 0x10abccb
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abcc2
sub eax, edx
inc eax
jmp 0x10abcd0
mov eax, edi
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
test esi, esi
jne 0x10abce9
xor eax, eax
jmp 0x10abcf7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abcee
sub eax, edx
inc eax
cmp eax, edi
jae 0x10abd15
test esi, esi
jne 0x10abd04
xor eax, eax
jmp 0x10abd12
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abd09
sub eax, edx
inc eax
jmp 0x10abd17
mov eax, edi
mov byte [ebp + eax - 0x109], 0
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10abd28
sub eax, ecx
mov edx, ebx
push 2
sub edx, eax
pop ecx
cmp edx, ecx
ja 0x10abd52
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abd45
sub eax, edx
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [ebp - 0x108]
push 0x10a5d84
push eax
call dword [sym.imp.msvcrt.dll_strncat]
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax]
add esp, 0xc
test edi, edi
jne 0x10abd78
xor ecx, ecx
jmp 0x10abd88
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abd7d
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x108]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10abd91
sub eax, esi
mov edx, ebx
sub edx, eax
inc ecx
cmp ecx, edx
jae 0x10abdbe
test edi, edi
jne 0x10abdab
xor eax, eax
jmp 0x10abdb9
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abdb0
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10abdd4
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abdc7
sub eax, edx
mov ecx, ebx
sub ecx, eax
mov esi, dword [sym.imp.msvcrt.dll_strncat]
push ecx
lea eax, [ebp - 0x108]
push edi
push eax
call esi
add esp, 0xc
push 1
lea eax, [ebp - 0x108]
push eax
call fcn.010ab0d2
test eax, eax
jne 0x10abf7a
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abe07
sub eax, edx
mov edx, ebx
push 2
sub edx, eax
pop ecx
cmp edx, ecx
ja 0x10abe31
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abe24
sub eax, edx
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [ebp - 0x108]
push 0x10a5d84
push eax
call esi
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax + 4]
add esp, 0xc
test edi, edi
jne 0x10abe54
xor ecx, ecx
jmp 0x10abe64
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abe59
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x108]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10abe6d
sub eax, esi
mov edx, ebx
sub edx, eax
inc ecx
cmp ecx, edx
jae 0x10abe9a
test edi, edi
jne 0x10abe87
xor eax, eax
jmp 0x10abe95
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abe8c
sub eax, edx
lea ecx, [eax + 1]
jmp 0x10abeb0
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abea3
sub eax, edx
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strncat]
mov eax, dword [ebp - 0x110]
add esp, 0xc
test eax, eax
jne 0x10abed0
xor edi, edi
jmp 0x10abede
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abed3
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax]
test eax, eax
jne 0x10abeee
xor esi, esi
jmp 0x10abefc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abef1
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
test eax, eax
je 0x10abf15
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10abf0c
sub eax, edx
add eax, esi
add eax, edi
cmp eax, 0x101
ja 0x10abf89
push 0x10a5d88
lea eax, [ebp - 0x108]
push eax
call fcn.010ab299
mov esi, eax
test esi, esi
je 0x10abf89
mov eax, dword [ebp - 0x10c]
push esi
push dword [eax + 8]
push 1
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll_fwrite]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
mov esi, dword [ebp - 0x110]
add esp, 0x14
mov edi, 0x104
add dword [ebp - 0x10c], 0x20
cmp dword [ebp - 0x10c], 0x10a5d70
jl 0x10abc89
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010a919f
leave
ret
push 0xfffffffffffffff5
pop eax
jmp 0x10abf7a