Function at 0x4c1130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509bab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
push edi
push ecx
lea edi, [ebp - 0x150]
mov ecx, 0x51
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x55370c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x140], 0
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x3e9
mov ecx, dword [ebp - 0x14]
call sub.MFC71.DLL_CWnd::GetDlgItemTextA
mov esi, esp
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x54c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
push 0x521d58
mov edx, dword [ebp - 0x14]
add edx, 0x54c
push edx
call fcn.00401bd0
add esp, 8
movzx eax, al
test eax, eax
jne 0x4c122c
mov esi, esp
push 7
lea ecx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x54c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x140]
or edx, 1
mov dword [ebp - 0x140], edx
push 0x521d5c
mov eax, dword [ebp - 0x144]
push eax
call fcn.004174f0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4c122c
mov dword [ebp - 0x148], 0
jmp 0x4c1236
mov dword [ebp - 0x148], 1
mov dl, byte [ebp - 0x148]
mov byte [ebp - 0x131], dl
mov eax, dword [ebp - 0x140]
and eax, 1
je 0x4c1269
and dword [ebp - 0x140], 0xfffffffe
mov esi, esp
lea ecx, [ebp - 0x138]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
movzx ecx, byte [ebp - 0x131]
test ecx, ecx
je 0x4c1299
push 0x521d64
push 0x422
mov ecx, dword [ebp - 0x14]
call sub.MFC71.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [ebp - 0x14]
add ecx, 0x550
call fcn.004d0580
jmp 0x4c13a5
push 0x521d74
push 0x422
mov ecx, dword [ebp - 0x14]
call sub.MFC71.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [ebp - 0x14]
add ecx, 0x550
call fcn.004d0580
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00411510
mov esi, esp
push 0
push 0x521d8c
mov ecx, dword [ebp - 0x14]
add ecx, 0x54c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x54c
mov esi, esp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp esi, esp
call fcn.004f90e1
sub eax, 7
mov esi, esp
push eax
lea edx, [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x54c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0
mov esi, esp
mov ecx, dword [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x54c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x13c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea edx, [ebp - 0x12c]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x4c1410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x548], eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4c13db]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f90d3
pop edi
pop esi
add esp, 0x150
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret