Function at 0x5871c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
jmp 0x5871ec
call fcn.005867f0
test al, al
je 0x587745
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x63ac10]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x58726d
cmp byte [eax + 0x40], bl
je 0x58726d
add eax, 0x250
push eax
call edi
push ebx
push 0x6316d8
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x6316d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [ebp - 4], bl
call fcn.004590c0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x218]
push ecx
push edx
lea eax, [ebp - 0x10]
push str._____s_Ver_s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
cmp eax, ebx
je 0x58734b
cmp byte [eax + 0x40], bl
je 0x58734b
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [ebp - 4], bl
call fcn.004590c0
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x224]
cmp cl, bl
mov ecx, 0x6316b8
jne 0x5873bb
mov ecx, 0x6316b0
push ecx
mov ecx, dword [eax + 0x44]
push ecx
lea edx, [ebp - 0x10]
push 0x63169c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
cmp eax, ebx
je 0x587436
cmp byte [eax + 0x40], bl
je 0x587436
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
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 - 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [ebp - 4], bl
call fcn.004590c0
mov ecx, dword [esi + 4]
push ebx
add ecx, 0x220
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0xc]
add ecx, 0x220
push ebx
mov dword [ebp - 0x18], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [ebp - 0x14]
mov esi, dword [eax + 0x10]
push ebx
inc esi
mov ecx, dword [ecx + 4]
add ecx, 0x220
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x18]
add eax, 0x76c
push edx
push esi
push eax
lea eax, [ebp - 0x10]
push 0x631680
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x14
cmp eax, ebx
je 0x58754d
cmp byte [eax + 0x40], bl
je 0x58754d
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [ebp - 4], bl
call fcn.004590c0
mov eax, dword [0x63ac10]
cmp eax, ebx
je 0x587607
cmp byte [eax + 0x40], bl
je 0x587607
add eax, 0x250
push eax
call edi
push ebx
push 0x6316d8
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x6316d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [ebp - 4], bl
call fcn.004590c0
mov eax, dword [0x63ac10]
cmp eax, ebx
je 0x5876c2
cmp byte [eax + 0x40], bl
je 0x5876c2
add eax, 0x250
push eax
call edi
push ebx
push 0x63546c
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x63546c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [ebp - 4], bl
call fcn.004590c0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push edx
push 0x587e10
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x10]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x587747
xor bl, bl
jmp 0x587750
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret