Function at 0x4155d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4192f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x178]
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x70]
push eax
mov eax, dword [ebp + 0x6c]
push ecx
mov ecx, dword [ebp + 0x68]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push 0x422b70
push edx
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x422c90
call fcn.00402730
lea ecx, [esp + 0x14]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov edx, dword [eax]
mov dword [ebp + 0x2ac], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x60]
xor edx, edx
cmp ecx, 0x14
mov dword [ebp + 0x2a8], eax
je 0x415901
cmp ecx, 0x3c
je 0x4158c6
cmp ecx, 0x46
je 0x415885
fld qword [ebp + 0x68]
fcomp qword [ebp + 0x180]
mov ebx, 1
fnstsw ax
test ah, 0x40
je 0x4156cf
cmp ecx, dword [ebp + 0x178]
jne 0x4156cf
mov eax, dword [ebp + 0x2b8]
test eax, eax
je 0x4156cf
cmp dword [ebp + 0x70], 0x8236
jne 0x4156b8
mov edx, ebx
cmp dword [eax + 8], 3
jge 0x4156c7
cmp dword [0x422cc8], 0xffffffff
je 0x4156cf
test edx, edx
je 0x4157b4
push 0
push 0
mov ecx, ebp
call fcn.004116f0
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x178], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x180], ecx
mov dword [ebp + 0x188], eax
lea edi, [ebp + 0x74]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x290], ebx
mov dword [ebp + 0x184], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x18c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
mov dword [ebp + 0x17c], ebx
call fcn.00415000
mov esi, eax
test esi, esi
jl 0x415754
cmp esi, 0x79
je 0x415754
lea ecx, [esp + 0x18]
push ecx
push 0
push ebp
push 0x4110d0
jmp 0x41594c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push esi
lea edx, [esp + 0x18]
push str.createjob__d
push edx
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x422c90
call fcn.00402730
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x415970
mov ecx, ebp
mov dword [ebp + 0x290], ebx
call fcn.004133f0
cmp eax, 0x79
jne 0x4157e1
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0x79
jmp 0x415970
mov ecx, dword [ebp + 0x2b8]
mov eax, dword [ecx + 8]
cmp eax, 3
je 0x4157f8
cmp eax, 4
jne 0x41595d
mov eax, dword [ebp + 0x17c]
test eax, eax
jle 0x415823
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x422d04]
test eax, eax
jne 0x41595d
push 0xa
call esi
mov eax, dword [ebp + 0x17c]
test eax, eax
jg 0x415808
mov eax, dword [ebp + 0x184]
mov ecx, dword [ebp + 0x2b8]
push eax
mov eax, dword [ebp + 0x180]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, eax
test esi, esi
jge 0x41595d
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x422d44
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x184]
mov edx, dword [ebp + 0x180]
push ecx
push edx
push esi
mov ecx, ebp
call fcn.00410590
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x415970
mov ecx, ebp
mov dword [ebp + 0x290], 1
call fcn.00413eb0
mov esi, eax
test esi, esi
jge 0x4158b4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x415970
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
push 0x412be0
jmp 0x41594c
mov ecx, ebp
mov dword [ebp + 0x290], 1
call fcn.00413eb0
mov esi, eax
test esi, esi
jge 0x4158f2
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x415970
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebp
push 0x413080
jmp 0x41594c
mov ebx, 1
push 0
push 0
mov ecx, ebp
mov dword [ebp + 0x290], ebx
call fcn.004116f0
mov ecx, ebp
call fcn.00413eb0
mov esi, eax
test esi, esi
jge 0x415939
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x415970
lea edx, [esp + 0x1c]
mov dword [ebp + 0x17c], ebx
push edx
push 0
push ebp
push 0x4125d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4