Function at 0x469420
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push ebp
push esi
push edi
mov esi, ecx
push str._JOB
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esi], 0
call fcn.0040a1c0
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469462
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469497
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edx
je 0x4694b4
xor eax, eax
jmp 0x4697ba
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00449160
mov ecx, dword [eax]
push ecx
push str.printerName__s_
lea edx, [esp + 0x28]
call fcn.0040a1c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4694f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469500
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469530
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edx
jne 0x4694ad
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00449160
mov ecx, dword [eax]
push ecx
push str.snapshotName__s_
lea edx, [esp + 0x28]
call fcn.0040a1c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469590
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469597
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4695c6
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edx
jne 0x4694ad
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00449160
mov ecx, dword [eax]
push ecx
push str.snapshotPath__s_
lea edx, [esp + 0x28]
call fcn.0040a1c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469626
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x18]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469630
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469660
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edx
jne 0x4694ad
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
push str.comPort__d__type__d__prntype__d__serialNum__d_
lea edx, [esp + 0x2c]
call fcn.0040a1c0
lea eax, [esp + 0x2c]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4696a6
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4696d5
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edx
jne 0x4694ad
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1c]
push eax
push str.printOff__d_
lea edx, [esp + 0x20]
call fcn.0040a1c0
lea eax, [esp + 0x20]
add esp, 8
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469710
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x10]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469740
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, edx
jne 0x4694ad
push str.___JOB__r_n
lea edx, [esp + 0x1c]
call fcn.0040a1c0
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469772
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x10]
push edx
add eax, eax
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0xc]
add dword [esi], edx
lea eax, [esp + 0x18]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4697a0
sub eax, esi
sar eax, 1
add eax, eax
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049dc2a
add esp, 0x218
ret 4