Function at 0x42ac10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47802d
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x49e044]
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 ebx, ecx
mov edi, dword [ebp + 8]
push 0x98
mov dword [ebp - 0x4f8], 0
push 0
cmp dword [edi + 0x10], 0xfffff
jbe 0x42acb9
lea eax, [ebp - 0xc8]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00413c20
mov edx, str.cant_send_message_with_length
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0041a0d0
push dword [edi + 0x10]
mov ecx, eax
call fcn.00413ee0
mov edx, str._bytes
mov ecx, eax
call fcn.0041a0d0
lea ecx, [ebp - 0xc8]
call fcn.00409c70
mov eax, 1
jmp 0x42b481
lea eax, [ebp - 0x328]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x328]
call fcn.00413c20
mov dl, 0x5b
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x328]
call fcn.00421d30
mov esi, eax
lea eax, [ebp - 0x500]
push 0x10
push eax
call fcn.00440ca4
push dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
add esp, 0x10
mov ecx, esi
push dword [edi + 0x10]
call fcn.00413ee0
mov dl, 0x5d
mov ecx, eax
call fcn.00421d30
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x324]
call fcn.00416ab0
push edi
lea ecx, [ebp - 0x518]
mov byte [ebp - 4], 2
call fcn.00414820
mov edx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [edx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x18], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x504]
cmp edx, 0x10
jb 0x42adc7
mov ecx, dword [ebp - 0x518]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42adbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b49f
push edx
push ecx
call fcn.00452f08
add esp, 8
xor edi, edi
mov dword [ebp - 0x508], 0
push 0x98
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x504], 0xf
push edi
push eax
mov byte [ebp - 0x518], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4f4], edi
mov dword [ebp - 0x4fc], edi
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x4f0]
call fcn.00413c20
mov edx, str.attempting_to_send
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4f0]
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
mov edx, str._bytes
mov ecx, eax
call fcn.0041a0d0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x42b2fe
cmp dword [ebp - 0x4f8], 0
jne 0x42b423
push 0x98
lea eax, [ebp - 0x160]
sub esi, edi
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.00413c20
mov edx, str.attempting_to_write
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.0041a0d0
push esi
mov ecx, eax
call fcn.00413ee0
mov edx, str._bytes
mov ecx, eax
call fcn.0041a0d0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
jb 0x42aec5
mov eax, dword [ebp - 0x2c]
add eax, edi
lea ecx, [ebp - 0x30]
lea edi, [ebx + 0x6c]
push edi
push ecx
push esi
push eax
push dword [ebx + 0x88]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xa0], eax
test esi, esi
je 0x42af97
push 0x98
lea eax, [ebp - 0x3c0]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x3c0]
call fcn.00413c20
mov edx, str.wrote
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c0]
call fcn.0041a0d0
push dword [ebp - 0x30]
mov ecx, eax
call fcn.00413ee0
mov edx, str.:_offset
mov ecx, eax
call fcn.0041a0d0
mov edi, dword [ebp - 0x4f4]
mov ecx, eax
push edi
call fcn.00413ee0
mov edx, str._transferred
mov ecx, eax
call fcn.0041a0d0
push dword [ebp - 0x14]
mov ecx, eax
call fcn.00413ee0
mov edx, str._writing
mov ecx, eax
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
add edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x3c0]
inc dword [ebp - 0x4fc]
mov dword [ebp - 0x4f4], edi
call fcn.00409c70
jmp 0x42b2d7
cmp eax, 0x3e5
jne 0x42b215
xor esi, esi
cmp dword [edi], 0x103
jne 0x42b07f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x64
cmp esi, 0x2710
jb 0x42afa4
lea edi, [ebx + 0xa0]
push 0x98
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x290]
call fcn.00413c20
mov edx, str.waiting_after_writing
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x290]
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00416ab0
push edi
lea eax, [ebp - 0x4f8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x518]
mov ecx, ebx
push eax
push 3
call fcn.0042d1b0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x504]
cmp edx, 0x10
jb 0x42b074
mov ecx, dword [ebp - 0x518]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b06a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b49f
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x290]
jmp 0x42b2cc
push 1
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebx + 0x88]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0x98
push 0
test eax, eax
je 0x42b14b
lea eax, [ebp - 0x458]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x458]
call fcn.00413c20
mov edx, str.overlapped_write
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.0041a0d0
push dword [ebp - 0x4fc]
mov ecx, eax
call fcn.00413ee0
mov edx, str.:_offset
mov ecx, eax
call fcn.0041a0d0
mov edi, dword [ebp - 0x4f4]
mov ecx, eax
push edi
call fcn.00413ee0
mov edx, str._transferred
mov ecx, eax
call fcn.0041a0d0
push dword [ebp - 0x14]
mov ecx, eax
call fcn.00413ee0
mov edx, str._writing
mov ecx, eax
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
add edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x458]
inc dword [ebp - 0x4fc]
mov dword [ebp - 0x4f4], edi
mov byte [ebp - 4], 6
call fcn.00409c70
lea edi, [ebx + 0xa0]
jmp 0x42b204
lea eax, [ebp - 0x1f8]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.00413c20
mov edx, str.overlapped_result_when_sending
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f8]
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00416ab0
lea edi, [ebx + 0xa0]
mov byte [ebp - 4], 0xa
push edi
lea eax, [ebp - 0x4f8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x518]
push eax
push 4
call fcn.0042d1b0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x504]
cmp edx, 0x10
jb 0x42b1f5
mov ecx, dword [ebp - 0x518]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b1eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b49f
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 6
call fcn.00409c70
cmp esi, 0x2710
jb 0x42b2d1
jmp 0x42afc9
push 0x98
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00413c20
mov edx, str.writing
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc8]
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416ab0
lea edi, [ebx + 0xa0]
mov byte [ebp - 4], 0xe
push edi
lea eax, [ebp - 0x4f8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x518]
push eax
push 2
call fcn.0042d1b0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x504]
cmp edx, 0x10
jb 0x42b2c6
mov ecx, dword [ebp - 0x518]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b2bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b49f
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00409c70
mov edi, dword [ebp - 0x4f4]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 5
call fcn.00409c70
mov esi, dword [ebp - 0x1c]
cmp edi, esi
jb 0x42ae53
cmp dword [ebp - 0x4f8], 0
jne 0x42b423
push dword [ebx + 0x88]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0x98
push 0
test eax, eax
jne 0x42b3c7
lea eax, [ebp - 0xc8]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00413c20
mov edx, str.flushing_writing
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc8]
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416ab0
lea eax, [ebx + 0xa0]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x4f8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x518]
push eax
push 5
call fcn.0042d1b0
mov edx, dword [ebp - 0x504]
cmp edx, 0x10
jb 0x42b3bf
mov ecx, dword [ebp - 0x518]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b3b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4a4
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0xc8]
jmp 0x42b41e
lea eax, [ebp - 0x160]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.00413c20
mov edx, str.flushed___wrote
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x160]
call fcn.0041a0d0
push dword [ebp - 0x4fc]
mov ecx, eax
call fcn.00413ee0
mov edx, str._times_to_send
mov ecx, eax
call fcn.0041a0d0
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00413ee0
lea ecx, [ebp - 0x160]
call fcn.00409c70
lea ecx, [ebp - 0x4f0]
call fcn.00409c70
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x42b45e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b454
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4a9
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00409c70
mov eax, dword [ebp - 0x4f8]
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.004528ff
mov esp, ebp
pop ebp
ret 4
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
int3