Function at 0x4132d0
Capabilities:
Reference ncr atm library routines

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4461fd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45e098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x29], 0
push 0x460b68
push 0x23003
call dword [sym.imp.MSXFS.dll_WFSStartUp]
mov dword [0x460b60], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x30], eax
mov eax, dword [0x460b60]
push eax
push 0x455474
push 0x455488
push 0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x14
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x34], eax
movzx edx, word [0x460b68]
push edx
push str._version.wVersion___________06x_
push 0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x10
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x38], eax
movzx ecx, word [0x460b6a]
push ecx
push str._version.wLowVersion________06x_
push 0
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x10
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x3c], eax
movzx eax, word [0x460b6c]
push eax
push str._version.wHighVersion_______06x_
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x10
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x40], eax
push 0x460b6e
push str._version.szDescription______s_
push 0
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x10
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x44], eax
push 0x460c6f
push str._version.szSystemStatus_____s_
push 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x10
cmp dword [0x460b60], 0
je 0x413432
cmp dword [0x460b60], 0xffffffff
jne 0x4136a1
push 0x460d70
push 0
push 0x460b68
push 0x23003
push 0xc8
push 2
push 0
push 0
mov ecx, 0x460b28
call fcn.00408740
push eax
call dword [sym.imp.MSXFS.dll_WFSOpen]
mov dword [0x460b60], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x48], eax
movzx ecx, word [0x460d70]
push ecx
mov ecx, 0x460b28
call fcn.00408740
push eax
mov edx, dword [0x460b60]
push edx
push 0x455550
push 0x455564
push 0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x1c
cmp dword [0x460b60], 0
je 0x4134be
cmp dword [0x460b60], 0xffffffff
jne 0x413543
push 0x460a68
mov ecx, dword [0x460a7c]
push ecx
mov edx, dword [0x460a7c]
push edx
push 0xf
movzx eax, word [0x460d70]
push eax
call dword [sym.imp.MSXFS.dll_WFSAsyncRegister]
mov dword [0x460b60], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x460a68]
push ecx
mov edx, dword [0x460b60]
push edx
push 0x45559c
push 0x4555b0
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x18
cmp dword [0x460b60], 0
jne 0x41352d
mov byte [ebp - 0x29], 1
jmp 0x413541
movzx ecx, word [0x460d70]
push ecx
call dword [sym.imp.MSXFS.dll_WFSClose]
call dword [sym.imp.MSXFS.dll_WFSCleanUp]
jmp 0x413557
movzx edx, word [0x460d70]
push edx
call dword [sym.imp.MSXFS.dll_WFSClose]
call dword [sym.imp.MSXFS.dll_WFSCleanUp]
movzx eax, word [0x460a6c]
cmp eax, 3
jne 0x4136a1
push 0x460a94
lea ecx, [ebp - 0x28]
call fcn.00408f10
mov dword [ebp - 4], 0
push 0x460b64
push 0
push 0x460b68
push 0x23003
push 0xc8
push 2
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00408740
push eax
call dword [sym.imp.MSXFS.dll_WFSOpen]
mov dword [0x460b60], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x50], eax
movzx ecx, word [0x460b64]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408740
push eax
mov edx, dword [0x460b60]
push edx
push 0x4555e0
push str.__s___WFSOpen_____d___Provider_____s___HSERVICE____d_
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x1c
cmp dword [0x460b60], 0
je 0x4135ff
cmp dword [0x460b60], 0xffffffff
jne 0x41367e
push 0x460a68
mov ecx, dword [0x460a7c]
push ecx
mov edx, dword [0x460a7c]
push edx
push 0xf
movzx eax, word [0x460b64]
push eax
call dword [sym.imp.MSXFS.dll_WFSAsyncRegister]
mov dword [0x460b60], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x54], eax
mov ecx, dword [0x460a68]
push ecx
mov edx, dword [0x460b60]
push edx
push 0x45562c
push str.__s___WFSRegister_____d___RequestID____d_
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x18
cmp dword [0x460b60], 0
je 0x41367c
movzx ecx, word [0x460d70]
push ecx
call dword [sym.imp.MSXFS.dll_WFSClose]
call dword [sym.imp.MSXFS.dll_WFSCleanUp]
jmp 0x413692
movzx edx, word [0x460d70]
push edx
call dword [sym.imp.MSXFS.dll_WFSClose]
call dword [sym.imp.MSXFS.dll_WFSCleanUp]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408c50
movzx eax, byte [ebp - 0x29]
cmp eax, 1
jne 0x4136b3
mov dword [ebp - 0x58], 0x455670
jmp 0x4136ba
mov dword [ebp - 0x58], 0x455678
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x58]
push ecx
push str.RegisterForEvent
push str.__s____s_
push 0
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov al, byte [ebp - 0x29]
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