Function at 0x585fb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c0dca
push eax
mov eax, 0x2094
mov dword fs:[0], esp
call fcn.00595100
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
jmp 0x585fe8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20a0]
push eax
lea edx, [ebx + 0x24]
push ecx
push edx
call fcn.004eabc0
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x20a0], 0
add eax, 0xfffffff0
push eax
lea eax, [ebp - 0x2090]
push eax
call sub.libssl.dll_bool___cdecl_DecruptLicenseA_char___int_
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x2090]
add ecx, 0xfffffff0
push ecx
push edx
call sub.libssl.dll_bool___cdecl_DecruptLicenseB_char___int_
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov byte [ebp + eax - 0x20a0], 0
jmp 0x586044
push 0x5d0160
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 0x20
mov edi, eax
lea esi, [ebp - 0x20a0]
mov ecx, 5
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x586284
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax - 0x20a8], eax
jne 0x586284
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x70]
add edx, 4
push ecx
push edx
call sub.md5lib.dll_MD5Encode
mov ecx, 8
lea edi, [ebp - 0x2090]
lea esi, [ebp - 0x70]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x586284
mov eax, dword [ebp - 0x18]
xor bl, bl
cdq
and edx, 3
mov byte [ebp - 0xf], bl
add eax, edx
mov byte [ebp - 0xe], bl
sar eax, 2
test eax, eax
mov byte [ebp - 0xd], bl
jle 0x586118
lea ecx, [ebp - 0x209f]
mov esi, eax
mov dl, byte [ecx - 1]
mov al, byte [ebp - 0xf]
add bl, dl
mov dl, byte [ecx]
add al, dl
mov dl, byte [ebp - 0xe]
mov byte [ebp - 0xf], al
mov al, byte [ecx + 1]
add dl, al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], dl
mov dl, byte [ecx + 2]
add al, dl
add ecx, 4
dec esi
mov byte [ebp - 0xd], al
jne 0x5860c4
test bl, bl
jne 0x586284
mov al, byte [ebp - 0xf]
test al, al
jne 0x586284
mov al, byte [ebp - 0xe]
test al, al
jne 0x586284
mov al, byte [ebp - 0xd]
test al, al
jne 0x586284
mov ecx, 8
lea edi, [ebp - 0x2090]
lea esi, [ebp - 0x70]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x586284
jmp 0x586139
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
add ecx, 0xffffffd0
lea edx, [ebp - 0x2070]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.005879c0
test eax, eax
je 0x586c3d
cmp eax, 1
jne 0x58632f
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x208]
mov eax, dword [ecx - 8]
test eax, eax
je 0x58682b
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 4]
mov dword [ebp - 4], 0
mov eax, dword [edx + 0x208]
push eax
push 0x5d0008
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea ecx, [ebp + 8]
push eax
push 0x60e6ec
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0x10
test eax, eax
je 0x586218
mov cl, byte [eax + 0x40]
test cl, cl
je 0x586218
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp + 8]
call fcn.0041a900
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637770]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb4c0
mov ecx, dword [0x637770]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [ebp - 4], 0
call fcn.00458dc0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x5862c0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x5862c2
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x586296
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x586298
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x47e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x479
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x5d0014
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
mov ecx, dword [esi + 4]
push eax
add ecx, 0x208
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0xc
test eax, eax
jne 0x586302
mov eax, dword [esi + 4]
mov byte [eax + 0x71], 1
push 0
mov ecx, esi
call fcn.00586c60
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x5865e0
mov al, byte [ebp + 8]
test al, al
jne 0x5864de
push 0x5d0034
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
mov dword [ebp - 4], 4
test eax, eax
je 0x5863cc
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5863cc
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp + 8]
call fcn.0041a900
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x637770]
push str.runtime
push 0x603760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [ebp - 4], 4
call fcn.00458dc0
mov esi, dword [ebp + 8]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x58643d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov edi, eax
jmp 0x58643f
xor edi, edi
push 0x40
push 0x5d0028
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
push eax
mov eax, dword [edi + 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18]
push 1
push ecx
call fcn.004ec530
add esp, 8
push str.autoupdate.exe
lea edx, [ebp - 0x24]
push eax
push edx
mov byte [ebp - 4], 8
call sub.MFC42.DLL_operator_3
push 1
push 0x631fcc
push 0x631fcc
push 0
mov ecx, eax
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x637770]
test eax, eax
je 0x58654f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58654f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x5d0074
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.runtime
push 0x603760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push 0x5d0074
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x30], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov dword [ebp - 4], 0xffffffff
call fcn.00458dc0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x5865d3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
push 0
mov esi, eax
push 0x5d0074
jmp 0x586810
xor esi, esi
push esi
push 0x5d0074
jmp 0x586810
cmp eax, 3
jne 0x58682b
mov al, byte [ebp + 8]
test al, al
jne 0x58671f
push 0x5d00d0
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xd
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x586628
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov esi, eax
jmp 0x58662a
xor esi, esi
push 0x44
push 0x5d0028
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
push eax
mov eax, dword [esi + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x58670b
lea ecx, [ebp + 8]
push 1
push ecx
call fcn.004ec530
add esp, 8
push str.autoupdate.exe
lea edx, [ebp - 0x28]
push eax
push edx
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_operator_3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.004ec530
add esp, 8
push str.autoupdate.exe
lea ecx, [ebp - 0x24]
mov bl, 0x11
push eax
push ecx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_operator_3
push 1
push 0x631fcc
push 0x631fcc
push 0
mov ecx, eax
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x586828
mov eax, dword [0x637770]
test eax, eax
je 0x58678d
mov cl, byte [eax + 0x40]
test cl, cl
je 0x58678d
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x5d0100
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637770]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb4c0
mov ecx, dword [0x637770]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push 0x5d0100
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov dword [ebp - 4], 0xffffffff
call fcn.00458dc0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x586807
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov esi, eax
jmp 0x586809
xor esi, esi
push 0
push 0x5d0100
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
push eax
mov eax, dword [esi + 0x20]
push 0x479
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x20c]
mov eax, dword [edx - 8]
test eax, eax
je 0x586976
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 4]
mov ebx, 0x16
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x20c]
push ecx
push 0x5d0138
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea edx, [ebp - 0x10]
push eax
push 0x60e6ec
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0x10
test eax, eax
je 0x5868e4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x5868e4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp - 0x10]
call fcn.0041a900
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x637770]
push str.runtime
push 0x603760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
lea edx, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [ebp - 4], bl
call fcn.00458dc0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x58694f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x586951
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x479
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
or edi, 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
jmp 0x586979
or edi, 0xffffffff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x210]
mov eax, dword [ecx - 8]
test eax, eax
je 0x586abc
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 4]
mov ebx, 0x1a
mov dword [ebp - 4], ebx
mov eax, dword [edx + 0x210]
push eax
push 0x5d0144
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea ecx, [ebp - 0x10]
push eax
push str._s_n_n_s
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0x10
test eax, eax
je 0x586a2f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x586a2f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [ebp - 0x10]
call fcn.0041a900
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637770]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb4c0
mov ecx, dword [0x637770]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x60b5c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63234c]
mov byte [ebp - 4], bl
call fcn.00458dc0
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x586a9a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x586a9c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x479
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2060]
add eax, 0xffffffc0
push eax
push ecx
mov ecx, dword [esi + 4]
call fcn.00588370
push 0x5d0150
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637770]
mov esi, 0x1e
mov dword [ebp - 4], esi
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 4]
mov al, byte [ecx + 0x224]
test al, al
je 0x586b0b
mov ecx, dword [ebp - 0x1c]
jmp 0x586b2e
push 0x5d0158
call sub.libssl.dll_char____cdecl_DecruptString_char_const__
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x24], 1
mov ecx, dword [eax]
mov byte [ebp - 4], 0x1f
mov edx, dword [0x637770]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x44]
push ecx
mov ecx, dword [eax + 0x218]
push ecx
push edx
push str._s__s__s_Ver_s
call fcn.0044c540
add eax, 0x1ec
push eax
call sub.MFC42.DLL_CString::Format
mov al, byte [ebp - 0x24]
add esp, 0x18
test al, 1
mov dword [ebp - 4], esi
je 0x586b74
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
call fcn.0044c540
mov eax, dword [eax + 0x1ec]
push eax
call fcn.0044c540
mov ecx, dword [eax + 0x20]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [0x637770]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dl, byte [eax + 0x248]
test dl, dl
jne 0x586bad
mov dl, byte [eax + 0x298]
test dl, dl
je 0x586c29
mov edx, dword [eax + 0x64]
mov eax, dword [edx - 8]
test eax, eax
je 0x586c29
lea eax, [ebp - 0x20]
push eax
call fcn.0051efa0
mov bl, 0x20
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.0052a570
mov ecx, dword [0x637770]
mov byte [ebp - 4], 0x21
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [edx + 4]
add eax, 0x64
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x586bfb
push 1
jmp 0x586c04
mov al, byte [ebp + 8]
test al, al
jne 0x586c0f
push 0
lea ecx, [ebp - 0xa0]
call fcn.0052a600
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.0052a5d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::CString
jmp 0x586c32
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4