Function at 0x413c20
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x437c81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], 0x43e628
mov dword [esp + 0x50], 4
xor ebx, ebx
lea ebp, [edi + 4]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x5c]
cmp eax, ecx
je 0x413c61
xor eax, eax
cmp ebx, eax
jge 0x413d1a
lea esi, [edi + 8]
push ebx
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
call fcn.00414d30
mov eax, dword [esp + 0x20]
push 0x2710
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413ce2
mov edx, esi
push ebx
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
call fcn.00414d30
mov edx, dword [esp + 0x30]
push 0
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0xc]
push ebx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.00414d30
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
jmp 0x413c55
lea esi, [edi + 0x13c]
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x14]
mov byte [esp + 0x50], 8
call fcn.00434eae
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 7
call fcn.00434eae
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 6
call fcn.00434eae
lea ecx, [esi + 8]
mov byte [esp + 0x50], 5
call fcn.00434eae
lea ecx, [esi + 4]
mov byte [esp + 0x50], 3
call fcn.00434eae
lea esi, [edi + 0x98]
mov dword [esp + 0x14], esi
mov ecx, esi
mov byte [esp + 0x50], 0x11
call fcn.00414000
lea ecx, [esi + 0x24]
mov byte [esp + 0x50], 0x10
call fcn.00434eae
lea ecx, [esi + 0x20]
mov byte [esp + 0x50], 0xf
call fcn.00434eae
lea ecx, [esi + 0x1c]
mov byte [esp + 0x50], 0xe
call fcn.00434eae
lea ecx, [esi + 0x18]
mov byte [esp + 0x50], 0xd
call fcn.00434eae
lea ecx, [esi + 0x14]
mov byte [esp + 0x50], 0xc
call fcn.00434eae
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 0xb
call fcn.00434eae
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 0xa
call fcn.00434eae
lea ecx, [esi + 8]
mov byte [esp + 0x50], 9
call fcn.00434eae
lea ecx, [esi + 4]
mov byte [esp + 0x50], 2
call fcn.00434eae
lea ecx, [edi + 0x94]
mov byte [esp + 0x50], 1
call fcn.00434eae
lea esi, [edi + 0x68]
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x28]
mov byte [esp + 0x50], 0x18
call fcn.00434eae
lea ecx, [esi + 0x24]
mov byte [esp + 0x50], 0x17
call fcn.00434eae
mov byte [esp + 0x50], 0x16
lea ecx, [esi + 0x1c]
call fcn.00434eae
lea ecx, [esi + 0x14]
mov byte [esp + 0x50], 0x15
call fcn.00434eae
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 0x14
call fcn.00434eae
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 0x13
call fcn.00434eae
lea ecx, [esi + 8]
mov byte [esp + 0x50], 0x12
call fcn.00434eae
mov ecx, esi
mov byte [esp + 0x50], 0
call fcn.00434eae
mov esi, ebp
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x5c]
lea edi, [esi + 0x30]
test eax, eax
mov dword [esp + 0x50], 0x19
je 0x413e94
mov ecx, edi
call fcn.00414b90
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x413e86
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x50], 0xffffffff
test eax, eax
je 0x413ec9
mov edi, dword [esi + 0xc]
add edi, 4
dec eax
test eax, eax
mov dword [esi + 0xc], edi
mov ecx, edi
mov dword [esi + 0x2c], eax
je 0x413ebb
cmp ecx, dword [esi + 8]
jne 0x413ec2
mov ecx, esi
call fcn.00414c30
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x413ea3
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret