Function at 0x48be80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4f9d4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_4
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_4
push 2
lea eax, [esp + 0x34]
push 4
push eax
mov byte [esp + 0x4c], 2
call fcn.004e9c7e
mov bl, 3
push 0x406
mov ecx, esi
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, dword [sym.imp.MSVCRT.dll_rand]
mov edi, eax
call ebp
mov dword [esp + 0x18], eax
sub esp, 8
fild dword [esp + 0x20]
lea ecx, [esp + 0x1c]
fmul qword [0x503f28]
fstp qword [esp]
push 0x52394c
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x536d10]
mov eax, dword [edx + 0x2218]
mov dword [esp + 0x2c], eax
call ebp
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
fild dword [esp + 0x28]
add esp, 8
fmul qword [0x503f28]
fstp qword [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [0x528a70]
add esp, 4
lea ecx, [esp + 0x18]
push eax
mov eax, dword [edx*8 + 0x528a00]
push eax
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x528a70]
add esp, 0x14
mov eax, dword [edx*8 + 0x528a04]
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x38]
mov byte [esp + 0x54], bl
push eax
call fcn.0040b4c0
add esp, 0x20
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push 0x5307a8
push 0x5238f8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5238f4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5238f0
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x536d10]
lea eax, [esp + 0x28]
push eax
add ecx, 0x17c
mov byte [esp + 0x48], bl
call fcn.00443080
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5238f4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x40], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5238ec
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x48], 0xa
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x536d10]
lea eax, [esp + 0x28]
push eax
add ecx, 0x17c
mov byte [esp + 0x48], bl
call fcn.00443080
mov byte [esp + 0x38], 0xb
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
push 0x5238e8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48c11c
mov eax, dword [esp + 0x2c]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
lea ecx, [esi + 0xa4]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0x526d6c
push 0x3f9
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x48c15c
push 0x5307a8
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0x88]
call sub.MFC42.DLL_CString::operator_2
push 0
push 0
push esi
push 0x48a020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push sub.MFC42.DLL_CString::CString
push 2
lea edx, [esp + 0x30]
push 4
push edx
mov byte [esp + 0x48], 2
call fcn.004e9b8a
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4