Function at 0x418df4
Capabilities:
Reference ncr atm library routines

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446dd2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6b0
mov eax, dword [0x45e098]
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
mov dword [ebp - 0x3e0], ecx
mov dword [ebp - 4], 0
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x43c], eax
push 0x456370
push str.___s
push 0
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x43c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x10
mov dword [ebp - 0x3ec], 0
lea ecx, [ebp - 0x44]
call fcn.0040d400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.0041bd00
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0x608]
call fcn.0040d1e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x47c]
call fcn.0041ba90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x490]
call fcn.0041b9d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3e0]
add ecx, 0x4ac
call fcn.004086a0
movzx ecx, al
test ecx, ecx
jne 0x4188b2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4cc], esp
mov edx, dword [ebp - 0x3e0]
add edx, 0x4ac
push edx
call fcn.00408f10
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x50c]
push eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3e0]
call fcn.0041adb0
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x498], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x498]
push edx
lea ecx, [ebp - 0x490]
call fcn.0041b940
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50c]
call fcn.00419a80
mov byte [ebp - 4], 8
wait
lea eax, [ebp - 0x3cc]
push eax
push 0x23003
call dword [sym.imp.MSXFS.dll_WFSStartUp]
mov dword [ebp - 0x3e4], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x3e4]
push ecx
push 0x4563a0
push str._s__BS2_GetCounters___WFSStartUp____d
push 0
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x440]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
lea eax, [ebp - 0x3dc]
push eax
push 0
lea ecx, [ebp - 0x3cc]
push ecx
push 0x23003
push 0xc8
push 2
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00408740
push eax
call dword [sym.imp.MSXFS.dll_WFSOpen]
mov dword [ebp - 0x3e4], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x3e4]
push edx
lea ecx, [ebp + 8]
call fcn.00408740
push eax
push 0x4563f0
push str._s__BS2_GetCounters____WFSOpen__s_____d
push 0
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x18
lea ecx, [ebp - 0x3ec]
push ecx
push 0xc8
push 0
push 0x517
movzx edx, word [ebp - 0x3dc]
push edx
call dword [sym.imp.MSXFS.dll_WFSGetInfo]
mov dword [ebp - 0x3e4], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x3e4]
push eax
push 0x456440
push str._s__BS2_GetCounters___WFSGetInfo____d
push 0
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0x448]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x14
push 0
push 0
mov edx, dword [ebp - 0x608]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x608]
call fcn.0040a760
push 0x456490
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.0040fe50
add esp, 8
push 0x3b
lea edx, [ebp - 0x5f8]
push edx
call fcn.00410130
add esp, 8
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.0041c050
push 0x3b
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.00410130
add esp, 8
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x3e0]
call fcn.0041b2a0
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x494], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x494]
call fcn.00408740
push eax
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.0040fe50
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10c]
call fcn.00408c50
push 0x3b
lea edx, [ebp - 0x5f8]
push edx
call fcn.00410130
add esp, 8
cmp dword [ebp - 0x3e4], 0
jne 0x419788
mov eax, dword [ebp - 0x3ec]
mov ecx, dword [eax + 0x1e]
mov dword [ebp - 0x44c], ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 2]
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x3dc]
push ecx
lea edx, [ebp - 0x4a4]
push edx
mov ecx, dword [ebp - 0x3e0]
call fcn.00419cb0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3d0], 0
jmp 0x418b06
mov eax, dword [ebp - 0x3d0]
add eax, 1
mov dword [ebp - 0x3d0], eax
mov ecx, dword [ebp - 0x44c]
movzx edx, word [ecx]
cmp dword [ebp - 0x3d0], edx
jge 0x418f18
push 5
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + eax*4]
add edx, 0xa
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.0042ddf0
add esp, 0xc
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x44], 0
push 3
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + eax*4]
add edx, 0xf
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0042ddf0
add esp, 0xc
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x30], 0
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x16]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x1a]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00408d80
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x12]
mov dword [ebp - 0x450], ecx
cvtsi2sd xmm0, dword [ebp - 0x450]
mov edx, dword [ebp - 0x450]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x4575a0]
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x4a4]
movsd qword [ebp - 0x518], xmm0
call fcn.0041b7f0
mov cx, word [eax]
movzx edx, cx
push edx
sub esp, 8
movsd xmm0, qword [0x457558]
movsd qword [esp], xmm0
call fcn.0041cb90
add esp, 0xc
fstp qword [ebp - 0x530]
movsd xmm0, qword [ebp - 0x518]
mulsd xmm0, qword [ebp - 0x530]
call fcn.00443040
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.00408c50
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + eax*4]
mov eax, 4
imul ecx, eax, 0
mov edx, dword [edx + 0x2e]
mov eax, dword [edx + ecx]
mov ecx, dword [eax + 0x1f]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + ecx*4]
mov cx, word [eax + 0x22]
mov word [ebp - 0x38], cx
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 2]
mov dword [ebp - 0x3c], edx
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x454], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov edx, dword [eax + edx*4]
mov eax, dword [edx + 0x2e]
mov ecx, dword [eax + ecx]
mov edx, dword [ecx + 0x27]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov edx, dword [eax + edx*4]
mov eax, dword [edx + 0x2e]
mov ecx, dword [eax + ecx]
mov edx, dword [ecx + 0x23]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0x456494
push str._s__BS2_GetCounters___achCassId____s__ulInitialCount___u__ulDispensedCount____u__ulPresentedCount____u
push 0
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x20
lea ecx, [ebp - 0x490]
call fcn.004147b0
test eax, eax
jbe 0x418da0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00408d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x490]
call fcn.0041b910
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.00408c50
push str.HYOSUNG
push 0x460b48
call fcn.00414f60
add esp, 8
movzx eax, al
test eax, eax
je 0x418dc6
cmp dword [ebp + 0x20], 3
jne 0x418dc6
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x400], ecx
mov edx, dword [ebp - 0x400]
sub edx, 1
mov dword [ebp - 0x400], edx
cmp dword [ebp - 0x400], 5
ja case.0x418ded.1
mov eax, dword [ebp - 0x400]
jmp dword [eax*4 + 0x419a68]
mov dword [ebp - 0x3c], 4
jmp case.0x418ded.1
mov dword [ebp - 0x3c], 3
jmp case.0x418ded.1
mov dword [ebp - 0x3c], 5
jmp case.0x418ded.1
mov dword [ebp - 0x3c], 2
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + ecx*4]
cmp dword [eax + 2], 2
je 0x418e3a
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041bbe0
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 2], 2
jne 0x418f13
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 0x28], 0
je 0x418f13
mov edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0x28]
mov ax, word [edx]
mov word [ebp - 0x414], ax
mov dword [ebp - 0x3f4], 0
jmp 0x418ea3
mov ecx, dword [ebp - 0x3f4]
add ecx, 1
mov dword [ebp - 0x3f4], ecx
movzx edx, word [ebp - 0x414]
cmp dword [ebp - 0x3f4], edx
jae 0x418f13
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax + 2]
mov edx, dword [ebp - 0x3f4]
mov eax, dword [ecx + edx*4]
add eax, 2
push eax
mov ecx, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 2]
mov eax, dword [ebp - 0x3f4]
mov ecx, dword [edx + eax*4]
push ecx
lea ecx, [ebp - 0x538]
call fcn.00414f80
push eax
lea edx, [ebp - 0x540]
push edx
lea ecx, [ebp - 0x47c]
call fcn.0041cbc0
jmp 0x418e94
jmp 0x418af7
lea ecx, [ebp - 0x438]
call fcn.0041bb30
mov dword [ebp - 0x418], eax
jmp 0x418f3a
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 8
jae 0x418f75
lea ecx, [ebp - 0x1c4]
call fcn.0040d400
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041bbe0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c4]
call fcn.00401890
jmp 0x418f2b
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.MSXFS.dll_WFSFreeResult]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x47c]
call fcn.0041b6f0
jmp 0x418fa1
lea ecx, [ebp - 0x404]
call fcn.0041b550
lea ecx, [ebp - 0x4d4]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.0041b6c0
push eax
lea ecx, [ebp - 0x404]
call fcn.0041b590
movzx edx, al
test edx, edx
je 0x41901b
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x458], eax
lea ecx, [ebp - 0x404]
call fcn.0041b570
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x404]
call fcn.0041b570
mov ecx, dword [eax]
push ecx
push 0x456560
push str._s__usNoteID___d__ulCount___d
push 0
mov edx, dword [ebp - 0x458]
push edx
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x18
jmp 0x418f96
cmp dword [ebp + 0x20], 0xb
je 0x419031
cmp dword [ebp + 0x20], 7
je 0x419031
cmp dword [ebp + 0x20], 3
jne 0x419777
lea ecx, [ebp - 0x42c]
call fcn.0041b760
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x3ec]
push eax
push 0
push 0
push 0x51a
movzx ecx, word [ebp - 0x3dc]
push ecx
call dword [sym.imp.MSXFS.dll_WFSGetInfo]
mov dword [ebp - 0x3e4], eax
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x3e4]
push edx
push 0x4565a8
push str._s__BS2_GetCounters___WFS_INF_CIM_BANKNOTE_TYPES____d
push 0
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x45c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
mov ecx, dword [ebp - 0x3ec]
mov edx, dword [ecx + 0x1e]
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x3e8], 0
jmp 0x4190c8
mov eax, dword [ebp - 0x3e8]
add eax, 1
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x40c]
movzx edx, word [ecx]
cmp dword [ebp - 0x3e8], edx
jae 0x4192f8
push 3
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax + 2]
mov edx, dword [ebp - 0x3e8]
mov eax, dword [ecx + edx*4]
add eax, 2
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.0042ddf0
add esp, 0xc
mov edx, 1
imul eax, edx, 3
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 4
jae 0x41911d
jmp 0x419122
call fcn.0042679f
mov ecx, dword [ebp - 0x460]
mov byte [ebp + ecx - 0x408], 0
lea edx, [ebp - 0x408]
push edx
lea ecx, [ebp - 0xf4]
call fcn.00408d80
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax + 2]
mov edx, dword [ebp - 0x3e8]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 5]
mov dword [ebp - 0x464], ecx
cvtsi2sd xmm0, dword [ebp - 0x464]
mov edx, dword [ebp - 0x464]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x4575a0]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x4a4]
movsd qword [ebp - 0x4dc], xmm0
call fcn.0041b7f0
mov cx, word [eax]
movzx edx, cx
push edx
sub esp, 8
movsd xmm0, qword [0x457558]
movsd qword [esp], xmm0
call fcn.0041cb90
add esp, 0xc
fstp qword [ebp - 0x4e4]
movsd xmm0, qword [ebp - 0x4dc]
mulsd xmm0, qword [ebp - 0x4e4]
call fcn.00443040
mov dword [ebp - 0x4c8], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf4]
call fcn.00408c50
lea eax, [ebp - 0x528]
push eax
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xc
call fcn.0041bda0
push eax
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x510]
push edx
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xc
call fcn.0041bda0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x524]
push ecx
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xc
call fcn.0041bde0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x520]
push eax
call fcn.0041cbf0
add esp, 0x10
mov ecx, eax
call fcn.004148f0
movzx ecx, al
test ecx, ecx
je 0x4192f3
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x144]
call fcn.0041cc60
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x4bc], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x4bc]
push edx
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax + 2]
mov edx, dword [ebp - 0x3e8]
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [ebp - 0x164]
call fcn.0041cce0
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4b4], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x4b4]
push edx
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0041cdd0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x164]
call fcn.00419bc0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x144]
call fcn.00419b70
jmp 0x4190b9
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0041b6f0
jmp 0x419317
lea ecx, [ebp - 0x3f8]
call fcn.0041b550
lea edx, [ebp - 0x4e8]
push edx
lea ecx, [ebp - 0x42c]
call fcn.0041b6c0
push eax
lea ecx, [ebp - 0x3f8]
call fcn.0041b590
movzx eax, al
test eax, eax
je 0x4193a7
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x468], eax
lea ecx, [ebp - 0x3f8]
call fcn.0041b570
add eax, 8
mov ecx, eax
call fcn.00408740
push eax
lea ecx, [ebp - 0x3f8]
call fcn.0041b570
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x3f8]
call fcn.0041b570
mov edx, dword [eax]
push edx
push 0x456608
push str._s__usNoteID___d__ulValues___d__cCurrencyID___s
push 0
mov eax, dword [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x1c
jmp 0x41930c
mov ecx, dword [ebp - 0x3ec]
push ecx
call dword [sym.imp.MSXFS.dll_WFSFreeResult]
mov dword [ebp - 0x4c0], 0
push 1
lea ecx, [ebp - 0x6c0]
call fcn.0040d1e0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0x3e0]
call fcn.0041b2a0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x424]
call fcn.0041b630
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x3fc]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0041b6f0
jmp 0x419413
lea ecx, [ebp - 0x3fc]
call fcn.0041b550
lea ecx, [ebp - 0x500]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0041b6c0
push eax
lea ecx, [ebp - 0x3fc]
call fcn.0041b590
movzx edx, al
test edx, edx
je 0x419539
lea ecx, [ebp - 0x3fc]
call fcn.0041b570
add eax, 8
push eax
lea ecx, [ebp - 0x3fc]
call fcn.0041b570
add eax, 4
push eax
lea ecx, [ebp - 0x128]
call fcn.0041ce00
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3fc]
call fcn.0041b570
push eax
lea ecx, [ebp - 0x47c]
call fcn.0041ba60
push eax
mov ecx, dword [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041ce80
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x128]
call fcn.00419b70
lea edx, [ebp - 0x4fc]
push edx
lea ecx, [ebp - 0x424]
call fcn.0041b6c0
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
lea ecx, [ebp - 0x424]
call fcn.0041b690
mov ecx, eax
call fcn.0041b5d0
movzx edx, al
test edx, edx
je 0x419500
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x550]
push ecx
lea ecx, [ebp - 0x424]
call fcn.0041cf00
jmp 0x419528
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x424]
call fcn.0041b600
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x46c]
mov dword [edx], ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x64]
call fcn.00419c60
jmp 0x419408
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x424]
call fcn.0041b6f0
jmp 0x419558
lea ecx, [ebp - 0x3f0]
call fcn.0041b550
lea ecx, [ebp - 0x4f4]
push ecx
lea ecx, [ebp - 0x424]
call fcn.0041b6c0
push eax
lea ecx, [ebp - 0x3f0]
call fcn.0041b590
movzx edx, al
test edx, edx
je 0x41968b
push 0x41cf60
mov eax, dword [ebp - 0x4c0]
push eax
push 0x3b
mov ecx, dword [ebp + 0x20]
push ecx
push 0x3b
push 0
push 0x3b
push 0
push 0x3b
push 0
push 0x3b
lea ecx, [ebp - 0x3f0]
call fcn.0041b570
mov edx, dword [eax + 0x1c]
push edx
push 0x3b
lea ecx, [ebp - 0x3f0]
call fcn.0041b570
add eax, 4
push eax
push 0x3b
lea ecx, [ebp - 0x3f0]
call fcn.0041b570
mov eax, dword [eax]
push eax
push 0x3b
push 0
push 0x3b
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x6b0]
push edx
call fcn.0041cf30
add esp, 8
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0041c050
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0040d830
push eax
call fcn.00410130
add esp, 8
push eax
call fcn.0041cf30
add esp, 8
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0040d830
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0041c050
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0041c050
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0041c050
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0041c050
push eax
call fcn.00410130
add esp, 8
mov ecx, eax
call fcn.0040d830
mov ecx, eax
call fcn.0041c200
jmp 0x41954d
lea ecx, [ebp - 0x6c0]
call fcn.0040d350
mov ecx, eax
call fcn.0040c7d0
push eax
lea ecx, [ebp - 0x6c0]
call fcn.0040d370
push eax
lea ecx, [ebp - 0x94]
call fcn.00408e10
mov byte [ebp - 4], 0x18
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x94]
call fcn.00408740
push eax
push 0x456630
push str._s__CashIn_cassettes_data___s
push 0
mov eax, dword [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x470]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
push 0
push 0x64
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x504], esp
lea edx, [ebp - 0x94]
push edx
call fcn.00408f10
mov dword [ebp - 0x51c], eax
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x3e0]
call fcn.0041a9a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x94]
call fcn.00408c50
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x424]
call fcn.00419c10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xac]
call fcn.00408c50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c0]
call fcn.0040d3d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x42c]
call fcn.00419b20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4a4]
call fcn.00419ad0
jmp 0x4197e5
mov dword [ebp + 0x20], 6
mov dword [ebp - 0x41c], 0
jmp 0x4197aa
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 8
jge 0x4197e5
lea ecx, [ebp - 0x194]
call fcn.0040d400
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041bbe0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x194]
call fcn.00401890
jmp 0x41979b
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x438]
call fcn.0041bb30
push eax
push 0x456678
push str._s:_v.size____lu
push 0
mov edx, dword [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 0x410], 0
jmp 0x41983f
mov eax, dword [ebp - 0x410]
add eax, 1
mov dword [ebp - 0x410], eax
lea ecx, [ebp - 0x438]
call fcn.0041bb30
cmp dword [ebp - 0x410], eax
jae 0x4198dc
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x410]
push edx
lea ecx, [ebp - 0x438]
call fcn.0041baf0
mov ecx, eax
call fcn.0040d480
mov byte [ebp - 4], 0x1b
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x480], eax
lea ecx, [ebp - 0x7c]
call fcn.00408740
push eax
push 0x4566b4
push 0x4566dc
push 0
mov eax, dword [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x480]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
lea ecx, [ebp - 0x7c]
call fcn.00408740
push eax
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.0040fe50
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.00408c50
jmp 0x419830
lea ecx, [ebp - 0x438]
call fcn.0041bb60
cmp dword [ebp + 0x20], 9
jne 0x4198f6
mov byte [ebp - 0x3d5], 1
jmp 0x4198fd
mov byte [ebp - 0x3d5], 0
movzx edx, byte [ebp - 0x3d5]
push edx
push 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x4ec], esp
lea ecx, [ebp - 0x608]
call fcn.0040d350
mov ecx, eax
call fcn.0040c7d0
push eax
lea ecx, [ebp - 0x608]
call fcn.0040d370
push eax
mov ecx, esi
call fcn.00408e10
mov dword [ebp - 0x4f0], eax
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3e0]
call fcn.0041a9a0
wait
jmp 0x419994
mov dword [ebp - 4], 5
jmp 0x4199a4
movzx ecx, word [ebp - 0x3dc]
test ecx, ecx
je 0x4199bd
movzx edx, word [ebp - 0x3dc]
push edx
call dword [sym.imp.MSXFS.dll_WFSClose]
mov ecx, 0x460ac4
call fcn.00407650
mov dword [ebp - 0x488], eax
push str.XFSCounrersReader::GetRecyclerCounters
push str.___s:
push 0
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x488]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x490]
call fcn.00419a80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x47c]
call fcn.00411d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x608]
call fcn.0040d3d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.0041bce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408c50
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.004261af
mov esp, ebp
pop ebp
ret 0x20