Function at 0x583290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf078
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 0x5832bc
call fcn.005828c0
test al, al
je 0x583815
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x635490]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x58333d
cmp byte [eax + 0x40], bl
je 0x58333d
add eax, 0x250
push eax
call edi
push ebx
push 0x62bfe4
push 0x6095c0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635490]
push str.runtime
push 0x601760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x62bfe4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [ebp - 4], bl
call fcn.00458d40
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 [0x635490]
add esp, 0x10
cmp eax, ebx
je 0x58341b
cmp byte [eax + 0x40], bl
je 0x58341b
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a850
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635490]
push str.runtime
push 0x601760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [ebp - 4], bl
call fcn.00458d40
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x224]
cmp cl, bl
mov ecx, 0x62bfc4
jne 0x58348b
mov ecx, 0x62bfbc
push ecx
mov ecx, dword [eax + 0x44]
push ecx
lea edx, [ebp - 0x10]
push 0x62bfa8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0x10
cmp eax, ebx
je 0x583506
cmp byte [eax + 0x40], bl
je 0x583506
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a850
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635490]
push str.runtime
push 0x601760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [ebp - 4], bl
call fcn.00458d40
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 0x62bf8c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0x14
cmp eax, ebx
je 0x58361d
cmp byte [eax + 0x40], bl
je 0x58361d
add eax, 0x250
push eax
call edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041a850
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635490]
push str.runtime
push 0x601760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [ebp - 4], bl
call fcn.00458d40
mov eax, dword [0x635490]
cmp eax, ebx
je 0x5836d7
cmp byte [eax + 0x40], bl
je 0x5836d7
add eax, 0x250
push eax
call edi
push ebx
push 0x62bfe4
push 0x6095c0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635490]
push str.runtime
push 0x601760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 0x62bfe4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [ebp - 4], bl
call fcn.00458d40
mov eax, dword [0x635490]
cmp eax, ebx
je 0x583792
cmp byte [eax + 0x40], bl
je 0x583792
add eax, 0x250
push eax
call edi
push ebx
push 0x62fcec
push 0x6095c0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..snc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x635490]
push str.runtime
push 0x601760
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
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 0x62fcec
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x6095c0
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 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov byte [ebp - 4], bl
call fcn.00458d40
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push edx
push 0x583ee0
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 0x583817
xor bl, bl
jmp 0x583820
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