Function at 0x4056c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4553bc
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x5c], esi
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x40], ebx
push 0
push 0x461999
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
call fcn.00407510
mov dword [ebp - 4], 0
test esi, esi
jne 0x405748
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.004073a0
lea ecx, [ebp - 0x3c]
call fcn.00407280
mov eax, ebx
jmp 0x405de7
lea eax, [esi + 8]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], 0
mov byte [ebp - 0x17], 0
test eax, eax
je 0x405771
push 5
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004425f0
add esp, 0xc
mov byte [ebp - 0x17], 0
xor eax, eax
mov byte [ebp - 0x24], 0
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
lea eax, [esi + 0xd]
test eax, eax
je 0x405798
push 3
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004425f0
add esp, 0xc
mov byte [ebp - 0x21], 0
cmp dword [esi + 4], 0
jne 0x4057c4
push str.WARNING:_CashUnitName_is_NULL
push 0x4687f8
push dword [0x474eb0]
call fcn.00420340
add esp, 0xc
push dword [0x474eb0]
call fcn.00443550
add esp, 4
mov edx, dword [esi + 0x3c]
lea ecx, [ebp - 0x4ac]
call fcn.004010a0
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
mov edx, dword [esi + 0x38]
call fcn.004010a0
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x47c]
mov edx, dword [esi + 0x34]
call fcn.004010a0
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x464]
cmp dword [esi + 0x28], 0
setne dl
call fcn.00403570
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44c]
mov dx, word [esi + 0x2c]
call fcn.004055b0
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x434]
mov edx, dword [esi + 0x24]
call fcn.004010a0
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x41c]
mov edx, dword [esi + 0x20]
call fcn.004010a0
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x404]
mov edx, dword [esi + 0x1c]
call fcn.004010a0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3ec]
mov edx, dword [esi + 0x18]
call fcn.004010a0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3d4]
mov edx, dword [esi + 0x14]
call fcn.004010a0
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3bc]
mov edx, dword [esi + 0x10]
call fcn.004010a0
mov dword [ebp - 0x44], eax
push 0xffffffffffffffff
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3a4]
call fcn.00421120
add esp, 4
mov ebx, eax
push 5
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x38c]
call fcn.00421120
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x374]
mov edx, dword [esi + 4]
push 0xffffffffffffffff
call fcn.00421120
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0xe
mov dx, word [eax + 2]
call fcn.004054f0
push eax
mov edx, str._CashUnits__n_usNumber_0__usNumber__n_usType_
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x344]
call fcn.00407ed0
add esp, 4
push str.__usType__n_lpszCashUnitName_
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x32c]
call fcn.00408000
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x314]
call fcn.00408050
add esp, 4
push str.__lpszCashUnitName__n_cUnitID_
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2fc]
call fcn.00408000
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2e4]
call fcn.00408050
add esp, 4
push str.__cUnitID__n_cCurrencyID_
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2cc]
call fcn.00408000
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2b4]
call fcn.00408050
add esp, 4
push str.__cCurrencyID__n_ulValues_
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x29c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x44]
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x284]
call fcn.00408050
add esp, 4
mov byte [ebp - 4], 0x18
mov edx, eax
push str.__ulValues__n_ulInitialCount_
lea ecx, [ebp - 0x26c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x254]
call fcn.00408050
add esp, 4
push str.__ulInitialCount__n_ulCount_
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x23c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x4c]
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x224]
call fcn.00408050
add esp, 4
push str.__ulCount__n_ulRejectCount_
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x20c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x50]
mov edx, eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1f4]
call fcn.00408050
add esp, 4
push str.__ulRejectCount__n_ulMinimum_
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1dc]
call fcn.00408000
add esp, 4
push dword [ebp - 0x54]
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1c4]
call fcn.00408050
add esp, 4
push str.__ulMinimum__n_ulMaximum_
mov edx, eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1ac]
call fcn.00408000
add esp, 4
push dword [ebp - 0x58]
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x194]
call fcn.00408050
add esp, 4
push str.__ulMaximum__n_usStatus_
mov edx, eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x17c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x70]
mov edx, eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x164]
call fcn.00408050
add esp, 4
push str.__usStatus__n_bAppLock_
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x14c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x60]
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x134]
call fcn.00408050
add esp, 4
push str.__bAppLock__n_ulDispensedCount_
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x11c]
call fcn.00408000
add esp, 4
push dword [ebp - 0x64]
mov edx, eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x104]
call fcn.00408050
add esp, 4
push str.__ulDispensedCount__n_ulPresentedCount_
mov edx, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xec]
call fcn.00408000
add esp, 4
push dword [ebp - 0x68]
mov edx, eax
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xd4]
call fcn.00408050
add esp, 4
push str.__ulPresentedCount__n_ulRetractedCount_
mov edx, eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xbc]
call fcn.00408000
add esp, 4
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0xa4]
call fcn.00408050
add esp, 4
push str.__ulRetractedCount__n__CashUnits__n
mov edx, eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x8c]
call fcn.00408000
add esp, 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.004072f0
lea ecx, [ebp - 0x8c]
call fcn.00407280
lea ecx, [ebp - 0xa4]
call fcn.00407280
lea ecx, [ebp - 0xbc]
call fcn.00407280
lea ecx, [ebp - 0xd4]
call fcn.00407280
lea ecx, [ebp - 0xec]
call fcn.00407280
lea ecx, [ebp - 0x104]
call fcn.00407280
lea ecx, [ebp - 0x11c]
call fcn.00407280
lea ecx, [ebp - 0x134]
call fcn.00407280
lea ecx, [ebp - 0x14c]
call fcn.00407280
lea ecx, [ebp - 0x164]
call fcn.00407280
lea ecx, [ebp - 0x17c]
call fcn.00407280
lea ecx, [ebp - 0x194]
call fcn.00407280
lea ecx, [ebp - 0x1ac]
call fcn.00407280
lea ecx, [ebp - 0x1c4]
call fcn.00407280
lea ecx, [ebp - 0x1dc]
call fcn.00407280
lea ecx, [ebp - 0x1f4]
call fcn.00407280
lea ecx, [ebp - 0x20c]
call fcn.00407280
lea ecx, [ebp - 0x224]
call fcn.00407280
lea ecx, [ebp - 0x23c]
call fcn.00407280
lea ecx, [ebp - 0x254]
call fcn.00407280
lea ecx, [ebp - 0x26c]
call fcn.00407280
lea ecx, [ebp - 0x284]
call fcn.00407280
lea ecx, [ebp - 0x29c]
call fcn.00407280
lea ecx, [ebp - 0x2b4]
call fcn.00407280
lea ecx, [ebp - 0x2cc]
call fcn.00407280
lea ecx, [ebp - 0x2e4]
call fcn.00407280
lea ecx, [ebp - 0x2fc]
call fcn.00407280
lea ecx, [ebp - 0x314]
call fcn.00407280
lea ecx, [ebp - 0x32c]
call fcn.00407280
lea ecx, [ebp - 0x344]
call fcn.00407280
lea ecx, [ebp - 0x35c]
call fcn.00407280
lea ecx, [ebp - 0x374]
call fcn.00407280
lea ecx, [ebp - 0x38c]
call fcn.00407280
lea ecx, [ebp - 0x3a4]
call fcn.00407280
lea ecx, [ebp - 0x3bc]
call fcn.00407280
lea ecx, [ebp - 0x3d4]
call fcn.00407280
lea ecx, [ebp - 0x3ec]
call fcn.00407280
lea ecx, [ebp - 0x404]
call fcn.00407280
lea ecx, [ebp - 0x41c]
call fcn.00407280
lea ecx, [ebp - 0x434]
call fcn.00407280
lea ecx, [ebp - 0x44c]
call fcn.00407280
lea ecx, [ebp - 0x464]
call fcn.00407280
lea ecx, [ebp - 0x47c]
call fcn.00407280
lea ecx, [ebp - 0x494]
call fcn.00407280
lea ecx, [ebp - 0x4ac]
call fcn.00407280
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x3c]
push eax
call fcn.004073a0
lea ecx, [ebp - 0x3c]
call fcn.00407280
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428bf1
mov esp, ebp
pop ebp
ret