Function at 0x41adb0
Capabilities:
Reference ncr atm library routines

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44712a
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x45e098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
call fcn.0041b9d0
mov byte [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x290]
push ecx
push 0x23003
call dword [sym.imp.MSXFS.dll_WFSStartUp]
mov dword [ebp - 0x29c], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x29c]
push edx
push 0x456dc0
push str.__s___WFSStartUp____d
push 0
mov eax, dword [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
cmp dword [ebp - 0x29c], 0
je 0x41ae78
cmp dword [ebp - 0x29c], 0xffffffff
jne 0x41aee7
lea ecx, [ebp - 0x2a0]
push ecx
push 0
lea edx, [ebp - 0x290]
push edx
push 0x23003
push 0xc8
push 2
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.00408740
push eax
call dword [sym.imp.MSXFS.dll_WFSOpen]
mov dword [ebp - 0x29c], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x29c]
push eax
push 0x456dfc
push str.__s___WFSOpen____d
push 0
mov ecx, dword [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x14
lea edx, [ebp - 0x2b4]
push edx
push 0
push 0
push 0x12f
movzx eax, word [ebp - 0x2a0]
push eax
call dword [sym.imp.MSXFS.dll_WFSGetInfo]
mov dword [ebp - 0x29c], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x29c]
push ecx
push 0x456e34
push str.__s___WFSGetInfo____d
push 0
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.0040d400
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax + 0x1e]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x298], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2a4]
movzx edx, word [ecx + 2]
push edx
push 0x456e70
push str.__s___WFSGetInfo_lppResult__usCount___d
push 0
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x2d0], 0
jmp 0x41afd2
mov ecx, dword [ebp - 0x294]
add ecx, 1
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x2a4]
movzx eax, word [edx + 2]
cmp dword [ebp - 0x294], eax
jge 0x41b124
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x20], ecx
push 5
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + edx*4]
add ecx, 8
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0041d040
add esp, 0xc
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x40]
push ecx
push str.XFSCounrersReader::GetCdmCounters
push str.__s___Add_Cassete___s___ulInitialCount___u__ulDispensedCount___u___ulRejectCount___u__ulRetractedCoun___u_
push 0
mov edx, dword [ebp - 0x2bc]
push edx
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x24
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x88]
call fcn.0041d080
mov byte [ebp - 4], 4
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0041d100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.0041b190
jmp 0x41afc3
lea ecx, [ebp - 0x2c8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b970
mov edx, dword [ebp - 0x2c0]
or edx, 1
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00401890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
call fcn.00419a80
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00408c50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004261af
mov esp, ebp
pop ebp
ret 0x1c