Function at 0x4212a0
Capabilities:
Reference ncr atm library routines

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4585e0
mov eax, dword fs:[0]
push eax
sub esp, 0x7b8
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x1a
push str.SimplicityInfoCollector_v9
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
call fcn.00407510
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xb0], 0x10
cmovae eax, dword [ebp - 0xc4]
push eax
push str._nStarting__s
call fcn.00420360
add esp, 8
lea ecx, [ebp - 0x768]
call fcn.00420500
mov dword [ebp - 0x738], eax
mov dword [ebp - 0x744], eax
test eax, eax
jne 0x42137d
push str.No_devices_configured
call fcn.00420360
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00407280
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428bf1
mov esp, ebp
pop ebp
ret
push 0x467e68
push str..XFSInfo.dat
call fcn.0044325f
mov ebx, eax
add esp, 8
mov dword [ebp - 0x730], ebx
test ebx, ebx
jne 0x4213a2
push str._nUnable_to_create_file__XFSInfo.dat_._Cant_continue._n
jmp 0x42134b
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
push 0x467e68
push str..SimplicityInfoCOllector.log
mov byte [ebp - 4], 4
call fcn.0044325f
add esp, 8
mov dword [0x474eb0], eax
test eax, eax
jne 0x421445
push str._nUnable_to_create_log_file._Cant_continue._n
call fcn.00420360
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.00407280
lea ecx, [ebp - 0xf4]
call fcn.00407280
lea ecx, [ebp - 0xac]
call fcn.00407280
jmp 0x421353
lea eax, [ebp - 0x518]
push eax
push 0x36303
call dword [sym.imp.MSXFS.dll_WFSStartUp]
mov dword [ebp - 0x724], eax
test eax, eax
je 0x421468
push str._nXFS_call_WFSStartUp_fail._Cant_continue._Terminating_n
jmp 0x421417
lea eax, [ebp - 0xfc]
push eax
call fcn.00444a91
lea eax, [ebp - 0xfc]
push eax
call fcn.00444d5d
push eax
call fcn.00442d89
mov edi, eax
lea esi, [ebp - 0x7c]
add esp, 0xc
mov edx, edi
sub esi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x421492
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4214a4
sub ecx, edx
lea eax, [edi - 5]
add eax, ecx
push 4
push eax
lea eax, [ebp - 0x71]
push eax
call fcn.004425f0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4214c6
sub ecx, edx
lea eax, [ecx - 0x10]
push eax
lea eax, [edi + 0xa]
push eax
lea eax, [ebp - 0x6d]
push eax
call fcn.004425f0
lea eax, [ebp - 0xc4]
mov edx, str.Starting
push eax
lea ecx, [ebp - 0x7ac]
call fcn.00407f20
add esp, 0x10
push str._nRun_Date_and_Time:
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00408000
add esp, 4
lea ecx, [ebp - 0x7ac]
mov byte [ebp - 4], 7
call fcn.00407280
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x94]
call fcn.004071d0
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x467ea8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
add esp, 0x10
mov dword [ebp - 0x72c], 0
xor esi, esi
mov dword [ebp - 0x734], esi
cmp esi, dword [ebp - 0x768]
jge 0x421daf
push 0x15
push str.Opening_session_with
lea ecx, [ebp - 0x94]
call fcn.00407510
imul esi, esi, 0x108
add esi, dword [ebp - 0x738]
cmp byte [esi], 0
jne 0x4215a6
xor ecx, ecx
jmp 0x4215b9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4215b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004077e0
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
push esi
push str._nOpening_session_with__s_n
call fcn.00420360
mov dword [ebp - 0x740], 0
mov dword [ebp - 0x73c], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x72c]
mov dword [ebp - 0x76c], eax
lea ecx, [ebp - 0x77c]
lea eax, [ebp - 0x720]
mov edx, 0x421210
mov dword [ebp - 0x770], eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x774], eax
lea eax, [ebp - 0x724]
mov dword [ebp - 0x778], eax
lea eax, [ebp - 0x76c]
push eax
lea eax, [ebp - 0x770]
push eax
lea eax, [ebp - 0x774]
push eax
lea eax, [ebp - 0x778]
push esi
push eax
call fcn.00421fb0
add esp, 0x2c
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74c]
call fcn.00422010
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x77c]
test eax, eax
je 0x4216a0
push 0x18
push eax
call fcn.00428d5d
add esp, 8
mov edi, dword [ebp - 0x748]
test edi, edi
mov ebx, dword [ebp - 0x74c]
setne al
mov dword [ebp - 0x740], ebx
mov dword [ebp - 0x73c], edi
mov dword [ebp - 0x74c], 0
mov dword [ebp - 0x748], 0
test al, al
jne 0x4216df
push 1
call fcn.00427ad6
add esp, 4
test edi, edi
sete al
test al, al
je 0x4216f2
push 1
call fcn.00427ad6
add esp, 4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp edi, eax
jne 0x421705
push 5
call fcn.00427ad6
add esp, 4
push 0
push edi
push ebx
call fcn.004281fb
add esp, 0xc
test eax, eax
je 0x42171f
push 2
call fcn.00427ad6
add esp, 4
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x724], 0
mov dword [ebp - 0x740], 0
mov dword [ebp - 0x73c], 0
je 0x421901
push 0x1c
push str.Could_not_open_session_with
call fcn.00407510
cmp byte [esi], 0
jne 0x421762
xor ecx, ecx
jmp 0x421770
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421767
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004077e0
mov edx, dword [ebp - 0x724]
lea ecx, [ebp - 0x764]
call fcn.00401080
push eax
mov edx, str.._Error_is_:
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x794]
call fcn.00407ed0
add esp, 4
push 0x4678c0
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x7c4]
call fcn.00408000
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xe
call fcn.00407910
lea ecx, [ebp - 0x7c4]
call fcn.00407280
lea ecx, [ebp - 0x794]
call fcn.00407280
lea ecx, [ebp - 0x764]
mov byte [ebp - 4], 8
call fcn.00407280
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
add esp, 0x10
cmp dword [ebp - 0x724], 0xffffffd7
jne 0x4218eb
push str.WARNING:_ERR_OP_IN_PROGRESS__call_cancel_blocking_call
lea ecx, [ebp - 0x94]
call fcn.00407240
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadId]
push eax
call dword [sym.imp.MSXFS.dll_WFSCancelBlockingCall]
mov dword [ebp - 0x724], eax
test eax, eax
je 0x4218eb
mov edx, eax
lea ecx, [ebp - 0x794]
call fcn.00401080
push eax
mov edx, str.Unable_to_cancel_block_call__error_is:
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x764]
call fcn.00407ed0
add esp, 4
lea ecx, [ebp - 0x94]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x764]
call fcn.00407280
lea ecx, [ebp - 0x794]
call fcn.00407280
cmp dword [ebp - 0x80], 0x10
lea ecx, [ebp - 0x94]
cmovae ecx, dword [ebp - 0x94]
call fcn.004210f0
mov esi, dword [ebp - 0x734]
mov ebx, dword [ebp - 0x730]
inc esi
mov byte [ebp - 4], 7
jmp 0x42156d
movzx edi, word [ebp - 0x310]
push 0x16
push str.Calling_GetStatus_for
mov dword [ebp - 0x728], 0
call fcn.00407510
cmp byte [esi], 0
jne 0x421927
xor ecx, ecx
jmp 0x421939
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421930
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004077e0
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
push esi
push str._nCalling_GetStatus_for__s_n
call fcn.00420360
add esp, 0x18
lea ecx, [ebp - 0xac]
push 0
push 0x461999
call fcn.00407510
push 0
push 0x461999
lea ecx, [ebp - 0xf4]
call fcn.00407510
push 0
push 0x461999
lea ecx, [ebp - 0xdc]
call fcn.00407510
lea eax, [ebp - 0x728]
push eax
imul eax, dword [esi + 0x104], 0x64
push 0
push 0
inc eax
push eax
push dword [ebp - 0x72c]
call dword [sym.imp.MSXFS.dll_WFSGetInfo]
mov dword [ebp - 0x724], eax
test eax, eax
jne 0x421a81
push str._nGetInfo_Status_successful_n
call fcn.00420360
mov edx, dword [esi + 0x104]
lea ecx, [ebp - 0x764]
push edi
push dword [ebp - 0x728]
call fcn.00420e20
add esp, 0xc
lea ecx, [ebp - 0xac]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x764]
call fcn.00407280
push dword [ebp - 0x728]
call dword [sym.imp.MSXFS.dll_WFSFreeResult]
cmp dword [ebp - 0x9c], 0
mov ebx, dword [ebp - 0x730]
jbe 0x421d24
push esi
lea eax, [esi + 0x100]
push eax
push str.__sDevice__n_t_XfsSettings__n_t_t_BindingType_First__BindingType__n_t_t_Name__s__Name__n_t__XfsSettings__n
push ebx
call fcn.00420340
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
push 0x467ea8
push ebx
call fcn.00420340
push ebx
call fcn.00443550
add esp, 0x20
jmp 0x421b02
mov edx, eax
lea ecx, [ebp - 0x794]
call fcn.00401080
push eax
mov edx, str.Error_returned_by_GetInfo_is
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x764]
call fcn.00407ed0
add esp, 4
lea ecx, [ebp - 0x94]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x764]
call fcn.00407280
lea ecx, [ebp - 0x794]
mov byte [ebp - 4], 8
call fcn.00407280
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
mov ebx, dword [ebp - 0x730]
add esp, 0x10
push dword [0x474eb0]
call fcn.00443550
add esp, 4
lea ecx, [ebp - 0x94]
push 0x1c
push str.Calling_GetCapabilities_for
call fcn.00407510
cmp byte [esi], 0
jne 0x421b2b
xor ecx, ecx
jmp 0x421b39
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421b30
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004077e0
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
add esp, 0x10
lea eax, [ebp - 0x728]
push eax
imul eax, dword [esi + 0x104], 0x64
push 0
push 0
add eax, 2
push eax
push dword [ebp - 0x72c]
call dword [sym.imp.MSXFS.dll_WFSGetInfo]
mov dword [ebp - 0x724], eax
test eax, eax
jne 0x421c1c
mov edx, dword [esi + 0x104]
lea ecx, [ebp - 0x764]
push edi
push dword [ebp - 0x728]
call fcn.00420f40
add esp, 8
lea ecx, [ebp - 0xf4]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x764]
call fcn.00407280
cmp dword [ebp - 0xe4], 0
jbe 0x421c06
cmp dword [ebp - 0xe0], 0x10
lea eax, [ebp - 0xf4]
cmovae eax, dword [ebp - 0xf4]
push eax
push 0x467ea8
push ebx
call fcn.00420340
push ebx
call fcn.00443550
add esp, 0x10
push dword [ebp - 0x728]
call dword [sym.imp.MSXFS.dll_WFSFreeResult]
mov dword [ebp - 0x728], 0
push dword [ebp - 0x72c]
mov edx, dword [esi + 0x104]
lea ecx, [ebp - 0x764]
call fcn.00421070
add esp, 4
lea ecx, [ebp - 0xdc]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x764]
call fcn.00407280
cmp dword [ebp - 0xcc], 0
jbe 0x421c7f
cmp dword [ebp - 0xc8], 0x10
lea eax, [ebp - 0xdc]
cmovae eax, dword [ebp - 0xdc]
push eax
push 0x467ea8
push ebx
call fcn.00420340
push ebx
call fcn.00443550
add esp, 0x10
lea eax, [esi + 0x100]
push eax
push str.___sDevice__n
push ebx
call fcn.00420340
push ebx
call fcn.00443550
add esp, 0x10
push dword [ebp - 0x72c]
call dword [sym.imp.MSXFS.dll_WFSClose]
push 0x1f
push str.Closed_the_session_with_device:
lea ecx, [ebp - 0x94]
call fcn.00407510
cmp byte [esi], 0
jne 0x421cc1
xor ecx, ecx
jmp 0x421ccf
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421cc6
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x94]
call fcn.004077e0
push 1
push 0x4678c0
lea ecx, [ebp - 0x94]
call fcn.004077e0
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
push ebx
call fcn.00443550
add esp, 0x14
mov esi, dword [ebp - 0x734]
mov byte [ebp - 4], 7
inc esi
jmp 0x42156d
call dword [sym.imp.MSXFS.dll_WFSCleanUp]
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x738]
test eax, eax
je 0x421dce
push eax
call fcn.00428e7e
add esp, 4
push ebx
call fcn.00443550
push ebx
call fcn.0044361f
lea eax, [ebp - 0xc4]
mov edx, str.Stopped
push eax
lea ecx, [ebp - 0x794]
call fcn.00407f20
add esp, 0xc
push 0x4678c0
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x764]
call fcn.00408000
add esp, 4
lea ecx, [ebp - 0x94]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x764]
call fcn.00407280
lea ecx, [ebp - 0x794]
call fcn.00407280
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
push dword [0x474eb0]
call fcn.00443550
push dword [0x474eb0]
call fcn.00443550
push dword [0x474eb0]
call fcn.0044361f
push str._n_n_nPlease_take_following_2_files_for_configuring_Simplicity_XFS_project_and_configuring_Registry_file_at_VM:_n
call fcn.00420360
push str.XFSInfo.dat_nRegFileForVM_n
call fcn.00420360
push str._nIf_files_are_not_created_please_check_error_log_in_file:_SimplicityInfoCOllector.log._n_n
call fcn.00420360
push str.Press_Enter_key_to_terminate.
call fcn.00420360
add esp, 0x28
call fcn.00444ed2
lea ecx, [ebp - 0x94]
call fcn.00407280
lea ecx, [ebp - 0xdc]
call fcn.00407280
lea ecx, [ebp - 0xf4]
call fcn.00407280
lea ecx, [ebp - 0xac]
call fcn.00407280
lea ecx, [ebp - 0xc4]
call fcn.00407280
xor eax, eax
jmp 0x421361