Function at 0x4225db
Capabilities:
Create thread

Disassembly:
mov eax, 0x43e444
call fcn.0043a940
sub esp, 0x6c
push ebx
push esi
push edi
push str.Please_select_the_token_to_use
lea eax, [ebp - 0x38]
push 0x8103
mov esi, ecx
push eax
call fcn.00431e3b
and dword [ebp - 4], 0
push str.Error
lea eax, [ebp - 0x20]
push 0x80eb
push eax
call fcn.00431e3b
push str.Please_select_the_certificate_to_browse
lea eax, [ebp - 0x2c]
push 0x8107
push eax
mov byte [ebp - 4], 1
call fcn.00431e3b
add esp, 0x24
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
push 0x110a
push dword [esi + 0x4b8]
mov byte [ebp - 4], 2
call ebx
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x4226ab
mov eax, dword [esi + 0xa8]
mov edi, dword [ebp - 0x38]
test eax, eax
jne 0x422668
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
test esi, esi
je 0x42266f
mov esi, dword [esi + 0x20]
push 0x10040
push eax
push edi
push esi
call fcn.0040ec0e
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040212c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0040212c
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 5
call fcn.0040212c
jmp 0x422a15
push eax
mov ecx, esi
call fcn.00422a26
push 9
mov dword [ebp - 0x14], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov edi, 0x113e
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push eax
push 0
push edi
mov dword [ebp - 0x78], 0x34
push dword [esi + 0x4b8]
call ebx
test eax, eax
jne 0x42273d
mov eax, dword [esi + 0xa8]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x4226fa
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
test esi, esi
je 0x422701
mov esi, dword [esi + 0x20]
push 0x10040
push eax
push edi
push esi
call fcn.0040ec0e
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0040212c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0040212c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040212c
push 0xfffffffffffffffe
pop eax
jmp 0x422a17
cmp dword [ebp - 0x5c], 4
je 0x422790
cmp dword [ebp - 0x5c], 8
je 0x422790
cmp dword [ebp - 0x5c], 7
je 0x422790
mov eax, dword [esi + 0xa8]
mov edi, dword [ebp - 0x2c]
test eax, eax
jne 0x422764
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
test esi, esi
je 0x42276b
mov esi, dword [esi + 0x20]
push 0x10040
push eax
push edi
push esi
call fcn.0040ec0e
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0040212c
mov byte [ebp - 4], 0xa
jmp 0x42294c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push eax
push 0
push edi
push dword [esi + 0x4b8]
call ebx
xor edi, edi
cmp eax, edi
jne 0x4227f6
mov eax, dword [esi + 0xa8]
mov ebx, dword [ebp - 0x20]
cmp eax, edi
jne 0x4227c6
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
cmp esi, edi
jne 0x4227ce
xor esi, esi
jmp 0x4227d1
mov esi, dword [esi + 0x20]
push 0x10040
push eax
push ebx
push esi
call fcn.0040ec0e
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0040212c
mov byte [ebp - 4], 0xc
jmp 0x42294c
push dword [ebp - 0x54]
mov ecx, dword [esi + 0xb0]
call fcn.0042b37a
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb8]
lea edx, [ebp - 0x50]
push 2
push edx
mov dword [ebp - 0x50], 0x11
push dword [ebp - 0x10]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x80455055
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov eax, dword [eax + 8]
push dword [eax + 0x10]
call dword [ecx + 0x62]
add esp, 0x10
cmp eax, edi
je 0x422888
mov eax, dword [esi + 0xa8]
mov ebx, dword [ebp - 0x20]
cmp eax, edi
jne 0x422858
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
cmp esi, edi
jne 0x422860
xor esi, esi
jmp 0x422863
mov esi, dword [esi + 0x20]
push 0x10010
push eax
push ebx
push esi
call fcn.0040ec0e
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.0040212c
mov byte [ebp - 4], 0xe
jmp 0x42294c
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x4228ad
cmp eax, 0xffffffff
je 0x4228ad
inc eax
push eax
call sub.MFC42u.DLL_operatornew
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
inc ecx
push ecx
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
cmp dword [ebp - 0x3c], edi
je 0x4228ca
push dword [ebp - 0x3c]
call sub.MFC42u.DLL_operatornew
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb8]
lea edx, [ebp - 0x50]
push 2
mov eax, dword [eax + 8]
push edx
push dword [ebp - 0x10]
push dword [eax + 0x10]
call dword [ecx + 0x62]
add esp, 0x10
cmp eax, edi
je 0x422959
cmp dword [ebp - 0x4c], edi
je 0x42290c
push dword [ebp - 0x4c]
call sub.MFC42u.DLL_operatordelete
push dword [ebp - 0x40]
mov dword [ebp - 0x4c], edi
call sub.MFC42u.DLL_operatordelete
pop ecx
mov dword [ebp - 0x40], edi
pop ecx
mov eax, dword [esi + 0xa8]
mov ebx, dword [ebp - 0x20]
cmp eax, edi
jne 0x422921
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0x10]
cmp esi, edi
jne 0x422929
xor esi, esi
jmp 0x42292c
mov esi, dword [esi + 0x20]
push 0x10010
push eax
push ebx
push esi
call fcn.0040ec0e
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.0040212c
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20]
call fcn.0040212c
jmp 0x422a09
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
cmp eax, edi
je 0x42296d
push eax
call ebx
pop ecx
mov dword [esi + 0x78], edi
mov eax, dword [ebp - 0x48]
push eax
mov dword [esi + 0x74], eax
call sub.MFC42u.DLL_operatornew
push dword [ebp - 0x48]
mov dword [esi + 0x78], eax
push dword [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [0x456abc]
add esp, 0x10
cmp eax, edi
je 0x42299e
push eax
call ebx
pop ecx
mov dword [0x456abc], edi
cmp dword [ebp - 0x3c], edi
je 0x4229bf
push dword [ebp - 0x3c]
call sub.MFC42u.DLL_operatornew
push dword [ebp - 0x3c]
mov dword [0x456abc], eax
push dword [ebp - 0x40]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
cmp dword [ebp - 0x4c], edi
je 0x4229d0
push dword [ebp - 0x4c]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov dword [ebp - 0x4c], edi
cmp dword [ebp - 0x40], edi
je 0x4229e1
push dword [ebp - 0x40]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov dword [ebp - 0x40], edi
push esi
push edi
push 0x42658a
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040212c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040212c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040212c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret