Function at 0x462650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bd24e
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x230], ebx
mov eax, dword [esp + 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4626da
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4626d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4629f1
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x240]
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
call fcn.004083b0
mov byte [esp + 0x230], 1
mov edx, dword [esp + 0x14]
push str..snp
push edx
call fcn.0049de7f
add esp, 8
cmp eax, ebx
jne 0x462859
push str.COMMS_CONNECTED
call fcn.0046ccd0
mov edi, eax
cmp edi, ebx
je 0x46283c
push edi
call fcn.0049e31d
add esp, 4
push edi
mov ebx, eax
call fcn.0049081d
add esp, 4
test ebx, ebx
je 0x46283a
push str.PRINTER_NAME
call fcn.0046ccd0
mov edi, eax
push str.VIEWMESSAGE
mov dword [esp + 0x1c], edi
call fcn.0046ccd0
mov ebp, eax
mov eax, dword [esp + 0x238]
push 0x5c
push eax
call fcn.0049ebc0
mov ebx, dword [esp + 0x240]
add esp, 8
test eax, eax
jne 0x462789
or edx, 0xffffffff
jmp 0x46278f
sub eax, ebx
sar eax, 1
mov edx, eax
mov eax, edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462794
sub eax, edi
sar eax, 1
cmp dword [ebx - 4], 1
lea edi, [edx + eax + 2]
jle 0x4627c4
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x23c]
call fcn.004021f0
mov ebx, dword [esp + 0x238]
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4627d0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebx + edi*2]
push edx
push ebp
call fcn.0049ed39
add esp, 0xc
test eax, eax
jne 0x462824
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4627f6
sub eax, edx
sar eax, 1
add eax, edi
push eax
lea ecx, [esp + 0x23c]
call fcn.00401ce0
cmp ax, 0x2d
jne 0x462824
mov dword [esi + 0x134], 1
mov eax, dword [esp + 0x18]
push eax
call fcn.0049081d
add esp, 4
push ebp
call fcn.0049081d
add esp, 4
xor ebx, ebx
lea edx, [esp + 0x238]
lea ecx, [esi + 0x138]
push edx
mov dword [esi + 0x130], 1
call fcn.00408830
call fcn.00460be0
push ebx
push esi
call fcn.00464770
mov edi, dword [esi + 0x6c]
push str.Loading_message.._r_n
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], 0x64
mov dword [esi + 0x74], 0x80
call fcn.00477b80
add esp, 4
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4628a6
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x220], eax
mov dword [esp + 0x21c], ebx
push esi
lea ecx, [esp + 0x23c]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x23c], 2
call fcn.00470160
push str.Loading_message..done_r_n
mov ebp, eax
call fcn.00477b80
add esp, 4
cmp dword [esp + 0x23c], ebx
jne 0x4628fa
cmp dword [esi + 0x74], edi
je 0x4628fa
xor ebp, ebp
mov eax, esi
call fcn.0045ddb0
fld1
mov eax, dword [esi + 0x70]
fstp dword [esi + 0xfc]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x8c], ebx
fild dword [esi + 0x64]
call fcn.004a2110
mov dword [esi + 0x64], eax
fild dword [esi + 0x68]
fmul dword [esi + 0xfc]
call fcn.004a2110
mov dword [esi + 0x68], eax
mov edx, dword [esi + 0x8c]
push edx
mov ebx, esi
call fcn.0045ff30
mov ecx, dword [0x4ee750]
cmp dword [ecx + 0x10], esi
jne 0x46295e
mov eax, dword [esi + 8]
push eax
push str.VIEWBARCODEMATCH
call fcn.0046cab0
test ebp, ebp
je 0x462969
call fcn.00460060
jmp 0x46296e
call fcn.00460be0
mov byte [esp + 0x230], 1
mov eax, dword [esp + 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462999
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x230], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4629c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x230], 0xffffffff
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4629ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0049dc2a
add esp, 0x220
ret 8