Function at 0x407f60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a6a70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x62c2a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0046641c
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
call fcn.004082a0
mov dword [esp + 0x20], 0
mov ecx, ebx
push dword [eax]
push 0x3f6
call fcn.00468b1e
mov dword [esp + 0x20], 0xffffffff
or eax, 0xffffffff
mov edx, dword [esp + 0xc]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x407fda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00471068
call fcn.00471068
push 0xbd
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [ebx + 0x20]
call esi
call fcn.00471068
call fcn.00471068
push 0xbc
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push 0x80
push dword [ebx + 0x20]
call esi
lea ecx, [esp + 0x10]
call fcn.00423aa0
mov dword [esp + 0x20], 1
mov ecx, ebx
push dword [eax]
call fcn.00468be9
mov dword [esp + 0x20], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40806c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [ebx + 0xd8]
call fcn.00447370
push ebx
lea ecx, [ebx + 0xc4]
call fcn.00422480
push 0x42e
lea ecx, [ebx + 0xd8]
call fcn.00447ea0
push 0x430
lea ecx, [ebx + 0xd8]
mov dword [ebx + 0x188], eax
call fcn.00447ea0
push 0x432
lea ecx, [ebx + 0xd8]
mov dword [ebx + 0x228], eax
call fcn.00447ea0
mov dword [ebx + 0x2c8], eax
mov eax, dword [ebx + 0x9c]
cmp eax, 1
jne 0x408135
mov ecx, dword [ebx + 0x188]
push str.Create_the_private_key_and_CSR.
call fcn.00468be9
mov ecx, dword [ebx + 0x228]
push str.Send_the_CSR_to_the_DigiCert_server_and_assign_it_to_the_order.
call fcn.00468be9
mov ecx, dword [ebx + 0x2c8]
push 0
call fcn.00468c2d
push 0x62d940
lea ecx, [ebx + 0xec]
call fcn.00443d40
push 0x62d940
lea ecx, [ebx + 0x18c]
call fcn.00443d40
push 0
lea ecx, [ebx + 0x22c]
call fcn.00468c2d
push 0x5ef814
jmp 0x408277
cmp eax, 2
jne 0x4081ad
mov ecx, dword [ebx + 0x188]
push str.Create_the_private_key_and_CSR.
call fcn.00468be9
mov ecx, dword [ebx + 0x228]
push str.Send_the_CSR_to_the_DigiCert_server_and_assign_it_to_the_order.
call fcn.00468be9
mov ecx, dword [ebx + 0x2c8]
push str.Install_the_issued_certificate.
call fcn.00468be9
push 0x62d940
lea ecx, [ebx + 0xec]
call fcn.00443d40
push 0x62d940
lea ecx, [ebx + 0x18c]
call fcn.00443d40
push 0x62d940
lea ecx, [ebx + 0x22c]
call fcn.00443d40
push str.Install
push 1
mov ecx, ebx
call fcn.00468b1e
jmp 0x408287
cmp eax, 3
jne 0x408213
mov ecx, dword [ebx + 0x188]
push str.Retrieve_the_issued_certificate_from_the_DigiCert_server.
call fcn.00468be9
mov ecx, dword [ebx + 0x228]
push str.Search_for_the_certificate_private_key_and_install_the_certificate.
call fcn.00468be9
mov ecx, dword [ebx + 0x2c8]
push 0
call fcn.00468c2d
push 0x62d940
lea ecx, [ebx + 0xec]
call fcn.00443d40
push 0x62d940
lea ecx, [ebx + 0x18c]
call fcn.00443d40
push 0
lea ecx, [ebx + 0x22c]
call fcn.00468c2d
push str.Install
jmp 0x408277
cmp eax, 4
jne 0x408287
mov ecx, dword [ebx + 0x188]
push str.Create_a_new_private_key_and_CSR.
call fcn.00468be9
mov ecx, dword [ebx + 0x228]
push str.Send_the_new_CSR_to_the_DigiCert_server_and_assign_it_to_the_order.
call fcn.00468be9
mov ecx, dword [ebx + 0x2c8]
push 0
call fcn.00468c2d
push 0x62d940
lea ecx, [ebx + 0xec]
call fcn.00443d40
push 0x62d940
lea ecx, [ebx + 0x18c]
call fcn.00443d40
push 0
lea ecx, [ebx + 0x22c]
call fcn.00468c2d
push str.Update_CSR
push 1
mov ecx, ebx
call fcn.00468b1e
mov ecx, ebx
call fcn.00408380
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret