Function at 0x587410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c39a8
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 0x58743c
call fcn.00586a40
test al, al
je 0x587995
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x63ac20]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5874bd
cmp byte [eax + 0x40], bl
je 0x5874bd
add eax, 0x250
push eax
call edi
push ebx
push 0x6316e8
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 [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
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 0x6316e8
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 [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
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 [0x63ac20]
add esp, 0x10
cmp eax, ebx
je 0x58759b
cmp byte [eax + 0x40], bl
je 0x58759b
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
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 [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x224]
cmp cl, bl
mov ecx, 0x6316c8
jne 0x58760b
mov ecx, 0x6316c0
push ecx
mov ecx, dword [eax + 0x44]
push ecx
lea edx, [ebp - 0x10]
push 0x6316ac
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x10
cmp eax, ebx
je 0x587686
cmp byte [eax + 0x40], bl
je 0x587686
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
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 [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
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 0x631690
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x14
cmp eax, ebx
je 0x58779d
cmp byte [eax + 0x40], bl
je 0x58779d
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
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 [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x587857
cmp byte [eax + 0x40], bl
je 0x587857
add eax, 0x250
push eax
call edi
push ebx
push 0x6316e8
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 [0x63ac20]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
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 0x6316e8
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 [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x587912
cmp byte [eax + 0x40], bl
je 0x587912
add eax, 0x250
push eax
call edi
push ebx
push 0x63547c
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 [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
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 0x63547c
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 [0x6357fc]
mov byte [ebp - 4], bl
call fcn.00458fc0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push edx
push 0x588060
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 0x587997
xor bl, bl
jmp 0x5879a0
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