Function at 0x4c4486
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
and dword [ebp - 0x10], ebx
and dword [ebp - 0xc], ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
cmp ecx, 1
je 0x4c44b2
cmp dword [0x519a78], ebx
je 0x4c4692
push 0
push 0x3cf
push dword [0x5186fc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [0x518700]
test ecx, ecx
je 0x4c4692
lea edx, [ebp - 8]
call fcn.004c412d
mov esi, eax
test esi, esi
je 0x4c4510
push esi
push 0x15900ce
call dword [sym.imp.certcli.dll_Ordinal_357]
mov ebx, dword [ebp - 8]
jmp 0x4c4694
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4c4692
cmp dword [0x519a78], edi
je 0x4c467d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
je 0x4c454b
cmp esi, 1
je 0x4c454b
push esi
push 0x16600ce
call dword [sym.imp.certcli.dll_Ordinal_357]
jmp 0x4c4694
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 8]
xor edi, edi
push eax
push edi
push ecx
lea eax, [ebp - 4]
mov dword [0x519a78], edi
push eax
xor edx, edx
mov ecx, ebx
call fcn.004eec27
push edi
push edi
push ebx
push 1
mov esi, eax
mov edx, 0x176
push 0xd9
push esi
mov ecx, 0xce
call fcn.004e9b0c
test esi, esi
je 0x4c4619
push dword [0x518700]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push edi
push 0xb1
push dword [0x518700]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x5186f8]
xor edx, edx
push edi
push esi
push 0x3a6
push dword [0x5186fc]
call fcn.004c5171
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4c45fb
push 1
push 0xffffffffffffffff
mov edx, esi
mov ecx, ebx
call fcn.004ca39c
test eax, eax
je 0x4c45fb
push esi
push 0
push 0xc
push dword [0x518700]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x518704]
mov edx, edi
call fcn.004c424c
mov esi, eax
test esi, esi
je 0x4c467d
push esi
push 0x1ad00ce
jmp 0x4c4540
cmp dword [ebp - 8], 2
jae 0x4c45cf
cmp byte [0x518710], 0
je 0x4c45cf
mov edi, dword [ebp - 4]
test edi, edi
je 0x4c4638
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
push dword [0x518700]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x518700]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x5186f8]
xor edx, edx
push 0
push 0x8007047e
push 0x3d0
push dword [0x5186fc]
call fcn.004c5171
jmp 0x4c45d2
call fcn.004c4326
test eax, eax
je 0x4c4692
push eax
push 0x1b400ce
call dword [sym.imp.certcli.dll_Ordinal_357]
xor esi, esi
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0x10], 0
je 0x4c46b4
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
je 0x4c46bf
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x4c46ca
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c46d8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4