Function at 0x417ede
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437da7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x427c
call fcn.00435c70
mov dword [ebp - 0x4288], ecx
mov dword [ebp - 0x426c], 0
mov dword [ebp - 0x4264], 1
mov dword [ebp - 0x4274], 2
mov dword [ebp - 0x4270], 0
lea eax, [ebp - 0x425c]
push eax
push 0
push 0
push 0x417cb9
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x4258], eax
mov ecx, dword [ebp - 0x4258]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4288]
cmp dword [edx + 0x27d0], 0
je 0x417f87
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x89a8]
shl ecx, 1
mov edx, dword [ebp - 0x4288]
mov dword [edx + 0x89a8], ecx
mov dword [ebp - 0x427c], 0
jmp 0x417fa2
mov eax, dword [ebp - 0x427c]
add eax, 1
mov dword [ebp - 0x427c], eax
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ebp - 0x427c]
cmp edx, dword [ecx + 0x89a4]
jge 0x417fe4
mov eax, dword [ebp - 0x427c]
imul eax, eax, 0x23e8
mov ecx, dword [0x4a19b0]
cmp dword [ecx + eax], 0
jne 0x417fe2
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x427c], 0
jmp 0x417f93
jmp 0x417f93
mov edx, dword [ebp - 0x4288]
mov eax, dword [edx + 0x89b0]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x4288]
mov dword [ecx + 0x89e0], 1
mov dword [0x4a3eb8], 0
mov dword [ebp - 0x4270], 0
jmp 0x41802c
mov edx, dword [ebp - 0x4270]
add edx, 1
mov dword [ebp - 0x4270], edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [ebp - 0x4270]
cmp ecx, dword [eax + 0x89a0]
jge 0x4180b7
lea edx, [ebp - 0x4260]
push edx
push 4
mov eax, dword [ebp - 0x4288]
push eax
push 0x4177fd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ecx + 0x89ac]
mov ecx, dword [ebp - 0x4270]
mov dword [edx + ecx*4], eax
mov edx, dword [0x4a3eb8]
add edx, 1
mov dword [0x4a3eb8], edx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x89ac]
mov edx, dword [ebp - 0x4270]
mov eax, dword [ecx + edx*4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41801d
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ecx + 0x89ac]
push edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x89a0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x4270], 0
jmp 0x4180f6
mov edx, dword [ebp - 0x4270]
add edx, 1
mov dword [ebp - 0x4270], edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [ebp - 0x4270]
cmp ecx, dword [eax + 0x89a0]
jge 0x418128
mov edx, dword [ebp - 0x4288]
mov eax, dword [edx + 0x89ac]
mov ecx, dword [ebp - 0x4270]
mov edx, dword [eax + ecx*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4180e7
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x4a3dd0
call fcn.004060f0
test eax, eax
jle 0x418146
jmp 0x417fe4
mov eax, dword [ebp - 0x4288]
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ecx + 0x89a0]
mov dword [eax + 0x89a8], edx
mov eax, dword [ebp - 0x4288]
cmp dword [eax + 0x89ac], 0
je 0x41818e
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ecx + 0x89ac]
mov dword [ebp - 0x4280], edx
mov eax, dword [ebp - 0x4280]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x4288]
cmp dword [ecx + 0x27d0], 0
je 0x41830f
mov edx, dword [ebp - 0x4288]
mov eax, dword [edx + 0x89a0]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x4284], eax
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ebp - 0x4284]
mov dword [ecx + 0x89ac], edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x89b0]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x4288]
mov dword [edx + 0x89e0], 2
mov dword [ebp - 0x4270], 0
jmp 0x41820f
mov eax, dword [ebp - 0x4270]
add eax, 1
mov dword [ebp - 0x4270], eax
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ebp - 0x4270]
cmp edx, dword [ecx + 0x89a0]
jge 0x418280
lea eax, [ebp - 0x4260]
push eax
push 4
mov ecx, dword [ebp - 0x4288]
push ecx
push 0x4177fd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x4288]
mov ecx, dword [edx + 0x89ac]
mov edx, dword [ebp - 0x4270]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x89ac]
mov edx, dword [ebp - 0x4270]
mov eax, dword [ecx + edx*4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x418200
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x4288]
mov edx, dword [ecx + 0x89ac]
push edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x89a0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x4270], 0
jmp 0x4182bf
mov edx, dword [ebp - 0x4270]
add edx, 1
mov dword [ebp - 0x4270], edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [ebp - 0x4270]
cmp ecx, dword [eax + 0x89a0]
jge 0x4182f1
mov edx, dword [ebp - 0x4288]
mov eax, dword [edx + 0x89ac]
mov ecx, dword [ebp - 0x4270]
mov edx, dword [eax + ecx*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4182b0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x4a3db0
call fcn.004060f0
test eax, eax
jle 0x41830f
jmp 0x4181d1
lea ecx, [ebp - 0x4268]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov dword [ebp - 0x4278], 0
jmp 0x41833c
mov eax, dword [ebp - 0x4278]
add eax, 1
mov dword [ebp - 0x4278], eax
mov ecx, dword [ebp - 0x4270]
cmp ecx, dword [0x494380]
jge 0x4183d9
mov edx, dword [ebp - 0x4278]
imul edx, edx, 0x23e8
mov eax, dword [0x4a19b0]
cmp dword [eax + edx + 0x34], 0
je 0x418383
mov ecx, dword [ebp - 0x4278]
imul ecx, ecx, 0x23e8
mov edx, dword [0x4a19b0]
mov eax, dword [edx + ecx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x4278]
imul ecx, ecx, 0x23e8
mov edx, dword [0x4a19b0]
cmp dword [edx + ecx + 0x20], 0
je 0x4183b9
mov eax, dword [ebp - 0x4278]
imul eax, eax, 0x23e8
mov ecx, dword [0x4a19b0]
mov edx, dword [ecx + eax + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4278]
imul eax, eax, 0x23e8
mov ecx, dword [0x4a19b0]
lea ecx, [ecx + eax + 0x38]
call fcn.00434f64
jmp 0x41832d
lea ecx, [ebp - 0x4254]
call fcn.0040fbe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4254]
call fcn.0040f950
mov edx, dword [ebp - 0x4288]
mov eax, dword [edx + 0x23c0]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4a3e98]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x4288]
cmp dword [edx + 0x27d0], 0
je 0x418424
mov eax, dword [0x4a3e98]
shr eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [0x4820b0]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
cmp dword [0x4a3ea0], 0
je 0x41845f
push 0
lea edx, [ebp - 0x4254]
push edx
mov eax, dword [ebp - 0x4288]
mov ecx, dword [eax + 0x23bc]
push ecx
mov edx, dword [ebp - 0x4288]
call dword [edx + 0x46c4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4254]
call fcn.0040fc10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4268]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4