Function at 0x4c08b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ab47
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x5b7de4]
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 ebx, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], esi
jne 0x4c1005
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4c092a
lea eax, [ebp - 0x3c4]
push eax
push edi
push dword [ebp + 0x10]
push 0x110
call fcn.004b3270
mov dword [esi], eax
mov eax, 1
jmp 0x4c1007
cmp eax, 0x7b
jne 0x4c094d
lea eax, [ebp - 0x3c4]
push eax
push edi
push dword [ebp + 0x10]
push 0x7b
call fcn.004ab6e0
mov dword [esi], eax
mov eax, 1
jmp 0x4c1007
mov ecx, dword [ebp + 0x10]
cmp eax, 0x111
jne 0x4c0c90
movzx edx, cx
mov dword [ebp - 0x3c4], 0x809e
cmp word [ebp - 0x3c4], dx
jne 0x4c0b18
lea ecx, [ebp - 0x128]
call fcn.004895c0
mov dword [ebp - 4], 0
call fcn.0049f750
mov esi, eax
mov dword [ebp - 0x3cc], esi
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0049c220
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x3c0]
call fcn.00489a90
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 3
call fcn.00422ad0
cmp eax, 2
jne 0x4c0a24
lea ecx, [ebp - 0x20c]
mov dword [ebp - fcn.00429f30], vtable.Presentation::CashBoxWizardDlg.0
mov dword [ebp - method.Presentation::CashBoxWizardDlg.1.virtual_0], vtable.Presentation::CashBoxWizardDlg.1.0
mov dword [ebp - method.Presentation::WizardDlg.2.virtual_0], vtable.Presentation::CashBoxWizardDlg.2.0
call fcn.0040bed0
lea ecx, [ebp - 0x3c0]
call fcn.0041ed40
lea ecx, [ebp - 0x3d8]
call fcn.0040bed0
mov byte [ebp - 4], 4
jmp 0x4c0aee
push 0x28
call fcn.005189be
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c4], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x4c0a4d
mov ecx, edi
call fcn.004de190
mov dword [edi], vtable.._AVLocal__1____CreateInteractionObject_VRemoteSellingService_RemoteServices___InteractionObjectImpl__SAPAVRemoteSellingService_RemoteServices__H_Z_.0
jmp 0x4c0a4f
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00467a30
movzx eax, ax
mov ecx, edi
push eax
call fcn.00467b70
mov dword [ebp - 0x3c4], edi
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.004de1c0
mov byte [ebp - 4], 7
test edi, edi
je 0x4c0aab
cmp dword [edi + 0x10], 1
jne 0x4c0aa4
push 1
push 0
mov ecx, edi
call fcn.004678d0
mov ecx, dword [0x5c8858]
push 1
push edi
call fcn.00466d70
mov ecx, edi
call fcn.00467b90
lea ecx, [ebp - 0x20c]
mov dword [ebp - fcn.00429f30], vtable.Presentation::CashBoxWizardDlg.0
mov dword [ebp - method.Presentation::CashBoxWizardDlg.1.virtual_0], vtable.Presentation::CashBoxWizardDlg.1.0
mov dword [ebp - method.Presentation::WizardDlg.2.virtual_0], vtable.Presentation::CashBoxWizardDlg.2.0
call fcn.0040bed0
lea ecx, [ebp - 0x3c0]
call fcn.0041ed40
lea ecx, [ebp - 0x3d8]
call fcn.0040bed0
mov byte [ebp - 4], 8
test esi, esi
je 0x4c0af7
call fcn.00498f50
lea ecx, [ebp - 0x128]
call fcn.0048d090
mov eax, dword [ebp - 0x3c8]
mov dword [eax], 0
mov eax, 1
jmp 0x4c1007
mov dword [ebp - 0x3c4], 0x809f
cmp word [ebp - 0x3c4], dx
jne 0x4c0b4f
lea eax, [ebp - 0x3c4]
shr ecx, 0x10
push eax
push edi
push 0x809f
push ecx
mov ecx, ebx
call fcn.004af210
mov dword [esi], eax
mov eax, 1
jmp 0x4c1007
mov dword [ebp - 0x3c4], 0x80a0
cmp word [ebp - 0x3c4], dx
jne 0x4c0f24
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
js 0x4c0c80
lea ecx, [ebp - 0x128]
call fcn.004895c0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 9
push eax
push edi
mov ecx, ebx
call fcn.00499480
cmp dword [ebp - 0x124], 0
jne 0x4c0bca
lea ecx, [ebp - 0x128]
call fcn.0048d090
mov dword [esi], 0
mov eax, 1
jmp 0x4c1007
call fcn.0049f750
mov esi, eax
mov dword [ebp - 0x3cc], esi
push 0x28
mov byte [ebp - 4], 0xa
call fcn.005189be
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c4], edi
mov byte [ebp - 4], 0xb
test edi, edi
je 0x4c0c04
mov ecx, edi
call fcn.004de190
mov dword [edi], vtable.._AVLocal__1____CreateInteractionObject_VRemoteSellingService_RemoteServices___InteractionObjectImpl__SAPAVRemoteSellingService_RemoteServices__H_Z_.0
jmp 0x4c0c06
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00467a30
movzx eax, ax
mov ecx, edi
push eax
call fcn.00467b70
mov dword [ebp - 0x3c4], edi
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.004de270
mov byte [ebp - 4], 0xd
test edi, edi
je 0x4c0c62
cmp dword [edi + 0x10], 1
jne 0x4c0c5b
push 1
push 0
mov ecx, edi
call fcn.004678d0
mov ecx, dword [0x5c8858]
push 1
push edi
call fcn.00466d70
mov ecx, edi
call fcn.00467b90
mov byte [ebp - 4], 0xe
test esi, esi
je 0x4c0c6f
call fcn.00498f50
lea ecx, [ebp - 0x128]
call fcn.0048d090
mov esi, dword [ebp - 0x3c8]
mov dword [esi], 0
mov eax, 1
jmp 0x4c1007
cmp eax, 0xc8f
jne 0x4c0cb7
cmp dword [ebx + 0x100], 0
je 0x4c0c80
mov ecx, ebx
call fcn.004a00e0
mov dword [esi], 0
mov eax, 1
jmp 0x4c1007
cmp eax, 0xe1f
je 0x4c0c97
cmp eax, 0xfaf
je 0x4c0c97
cmp eax, 0x2f15
je 0x4c0c97
cmp eax, 0x4e
jne 0x4c0f24
cmp dword [edi + 4], 0x46f
jne 0x4c0dc4
cmp dword [edi + 8], 0xfffffffe
jne 0x4c0d14
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], 1
push eax
push edi
push ecx
mov ecx, ebx
call fcn.004ab340
cmp dword [ebp - 0x3c4], 0
mov dword [esi], eax
jne 0x4c0920
mov ecx, dword [ebp + 0x10]
cmp dword [edi + 4], 0x46f
jne 0x4c0dc4
cmp dword [edi + 8], 0xfffffffd
jne 0x4c0d50
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], 1
push eax
push edi
push ecx
mov ecx, ebx
call fcn.004ab340
cmp dword [ebp - 0x3c4], 0
mov dword [esi], eax
jne 0x4c0920
cmp dword [edi + 4], 0x46f
jne 0x4c0dc4
cmp dword [edi + 8], 0xfffffffb
jne 0x4c0d8a
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], 1
push eax
push edi
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.004ab340
cmp dword [ebp - 0x3c4], 0
mov dword [esi], eax
jne 0x4c0920
cmp dword [edi + 4], 0x46f
jne 0x4c0dc4
cmp dword [edi + 8], 0xfffffffa
jne 0x4c0dc4
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], 1
push eax
push edi
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.004ab340
cmp dword [ebp - 0x3c4], 0
mov dword [esi], eax
jne 0x4c0920
mov eax, dword [edi + 4]
cmp eax, 0x46f
jne 0x4c0f1e
cmp dword [edi + 8], 0xfffffffd
jne 0x4c0df8
lea eax, [ebp - 0x3cc]
mov ecx, ebx
push eax
push 0
push 0
push 0
call fcn.004af210
mov dword [esi], eax
mov eax, 1
jmp 0x4c1007
cmp eax, 0x46f
jne 0x4c0f1e
cmp dword [edi + 8], 0xffffff6a
jne 0x4c0f1e
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x200]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x3c4], eax
call fcn.004895c0
lea eax, [ebp - 0x200]
mov dword [ebp - 4], 0xf
push eax
push esi
mov ecx, ebx
call fcn.00499480
cmp dword [ebp - 0x1fc], 0
je 0x4c0f13
test byte [edi + 0xc], 1
je 0x4c0f13
mov eax, dword [ebp - 0x3c4]
sub eax, 0
je 0x4c0ef8
sub eax, 1
je 0x4c0eb5
sub eax, 1
jne 0x4c0f13
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x200]
call fcn.0049b9e0
sub esp, 8
movsd xmm0, qword [eax + 8]
mov eax, dword [edi + 0x24]
movsd qword [esp], xmm0
dec eax
push str._.02f
push eax
push dword [edi + 0x20]
call fcn.0041ac20
add esp, 0x14
lea ecx, [ebp - 0x50]
call fcn.0048d280
lea ecx, [ebp - 0x200]
jmp 0x4c0afd
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b5a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [edi + 0x24]
push 0x5707c8
dec eax
push eax
push dword [edi + 0x20]
call fcn.0041ac20
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00408f00
lea ecx, [ebp - 0x200]
jmp 0x4c0afd
push dword [ebp - 0x1f8]
mov eax, dword [edi + 0x24]
push 0x5707bc
dec eax
push eax
push dword [edi + 0x20]
call fcn.0041ac20
add esp, 0x10
lea ecx, [ebp - 0x200]
jmp 0x4c0afd
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea edx, [ebx + 0xdc]
cmp eax, 5
jne 0x4c0f93
xor eax, eax
test edx, edx
cmove ebx, eax
cmp byte [edx + 0x1c], al
je 0x4c0f6b
push 0xe801
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x4c0f5c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c0f70
test ecx, ecx
jne 0x4c0f6b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c0f70
cmp ecx, 1
je 0x4c0fb0
mov eax, edi
lea ecx, [ebx + 0xdc]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00497190
mov dword [esi], 0
mov eax, 1
jmp 0x4c1007
cmp eax, 0x24
jne 0x4c0fbd
cmp dword [edx + 0x14], 0xffffffff
je 0x4c0fb0
cmp dword [edx + 0x18], 0xffffffff
je 0x4c0fb0
mov eax, dword [edx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x1c], eax
mov dword [esi], 0
mov eax, 1
jmp 0x4c1007
lea edx, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], 1
push edx
push edi
push ecx
push eax
mov ecx, ebx
call fcn.0042a980
cmp dword [ebp - 0x3c4], 0
mov dword [esi], eax
jne 0x4c0920
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x3cc]
call fcn.00494360
add esp, 0x14
test eax, eax
jne 0x4c0920
xor eax, eax
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.005189ad
mov esp, ebp
pop ebp
ret 0x18