Function at 0x442f20
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.004180f0
mov ecx, dword [esp + 0x1018]
push esi
push edi
mov edi, dword [esp + 0x1018]
lea eax, [esp + 0x1024]
push eax
push ecx
xor esi, esi
push 0x571100
mov dword [esp + 0x14], esi
mov dword [0x56e588], edi
call fcn.00500a18
mov dword [esp + 0x1c], eax
mov eax, dword [0x56e568]
add eax, 0xffffffff
add esp, 0xc
cmp eax, esi
jl 0x442f8d
mov ecx, dword [0x56e570]
cmp dword [ecx + eax*4], edi
je 0x442f7e
sub eax, 1
jns 0x442f72
jmp 0x442f8d
mov byte [0x56e590], 1
mov dword [esp + 8], 1
mov eax, dword [0x56e560]
add eax, 0xffffffff
cmp eax, esi
jl 0x442fcd
mov ecx, dword [0x56e56c]
nop
cmp dword [ecx + eax*4], edi
je 0x442fac
sub eax, 1
jns 0x442fa0
jmp 0x442fcd
mov al, byte [0x56e592]
test al, al
je 0x442fcd
mov cl, byte [0x56e591]
test cl, cl
je 0x442fc3
cmp cl, al
jbe 0x442fcd
or dword [esp + 8], 2
mov byte [0x56e591], al
mov edx, dword [esp + 0x101c]
cmp edx, dword [0x53f49c]
jle 0x442fe6
cmp dword [esp + 8], esi
je 0x4431bc
cmp dword [0x53f498], esi
je 0x4431bc
push ebx
mov ebx, dword [0x56e59c]
cmp ebx, esi
push ebp
je 0x44301a
push ebx
lea eax, [esp + 0x20]
push 8
push eax
mov dword [esp + 0x20], ebx
mov dword [0x56e59c], esi
call fcn.00418060
add esp, 0xc
jmp 0x443020
mov dword [esp + 0x14], esi
mov ebx, esi
cmp dword [0x56e584], esi
je 0x44303a
mov dword [0x56e584], esi
mov byte [esp + ebx + 0x1c], 0xa
mov ebp, 1
jmp 0x44303c
xor ebp, ebp
cmp dword [0x56e58c], esi
je 0x443054
lea esi, [ebx + ebp]
lea esi, [esp + esi + 0x1c]
call fcn.00442c00
add ebp, eax
xor esi, esi
mov ecx, dword [str._unknown_program_]
push edi
push ecx
lea edx, [ebx + ebp]
lea eax, [esp + edx + 0x24]
push str._s_Error:_d:
push eax
call fcn.00500a32
add ebp, eax
mov eax, 0x571100
mov ecx, ebp
sub ecx, eax
add esp, 0x10
add ecx, ebx
lea edx, [esp + ecx + 0x1c]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x443082
mov al, byte [esp + 0x10]
add ebp, dword [esp + 0x18]
test al, 1
je 0x4430c5
test al, 2
mov eax, str._and_exit
jne 0x4430a8
mov eax, 0x56e5ac
push eax
lea edx, [ebx + ebp]
lea eax, [esp + edx + 0x20]
push str.The_adapter_has_been_configured_to_fail_the_current_job_s_when_this_error_occurs_n
push eax
call fcn.00500a32
add esp, 0xc
add ebp, eax
jmp 0x443167
test al, 2
je 0x443167
lea eax, [ebx + ebp]
lea eax, [esp + eax + 0x1c]
mov ecx, 9
mov esi, str.The_adapter_has_been_configured_to
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4430e5
sub eax, edx
add ebp, eax
cmp byte [0x56e591], 2
mov edx, str.restart
je 0x443105
mov edx, str.exit
add ebx, ebp
lea ebx, [esp + ebx + 0x1c]
mov ecx, ebx
lea ecx, [ecx]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x443110
mov eax, str._after_the_current_job_when_this_error_occurs_n
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x443125
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x443137
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x443154
mov ebx, dword [esp + 0x14]
sub eax, edx
add ebp, eax
xor esi, esi
mov eax, dword [0x53f498]
cmp eax, esi
jle 0x443182
lea ecx, [ebx + ebp]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00423edf
add esp, 0xc
mov eax, dword [0x56e578]
cmp eax, esi
je 0x4431b3
push eax
push ebp
lea eax, [esp + ebx + 0x24]
push 1
push eax
call fcn.00500e5f
add esp, 0x10
cmp dword [0x56e580], esi
jle 0x4431b3
mov ecx, dword [0x56e578]
push ecx
call fcn.0041c125
add esp, 4
add dword [0x56e594], 1
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x100c
ret