Function at 0x426c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463911
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x49106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20], eax
lea ecx, [eax + 0x28]
mov dword [ebp - 0x14], 0
call fcn.0042e320
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 4
mov eax, dword [ebx + 0x48]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043cb8a
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x426cd8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x40]
mov byte [ebp - 0xd], 1
test eax, eax
je 0x427209
mov dword [ebp - 0x38], ecx
mov esi, eax
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov ecx, dword [esi + 8]
sub ecx, 0x10
call fcn.00407630
lea ebx, [eax + 0x10]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
sub ecx, 0x10
call fcn.00407630
lea esi, [eax + 0x10]
mov dword [ebp - 0x60], esi
lea ecx, [ebx - 0x10]
mov dword [ebp - 4], 1
call fcn.00407630
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x58], eax
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.00407630
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jl 0x426d67
push 0x47f7a0
push esi
call fcn.0043e2b2
mov edi, eax
add esp, 8
test edi, edi
je 0x426d67
sub edi, esi
sar edi, 1
jns 0x426d69
xor edi, edi
lea eax, [esi - 0x10]
mov dword [ebp - 0x48], eax
cmp edi, dword [esi - 0xc]
jl 0x426d87
mov ecx, eax
call fcn.00407630
or dword [ebp - 0x14], 1
lea edi, [eax + 0x10]
mov dword [ebp - 0x34], edi
jmp 0x426db4
mov ecx, dword [eax]
test ecx, ecx
je 0x426d96
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x426da2
call fcn.00401640
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.004070e0
or dword [ebp - 0x14], 1
mov edi, dword [ebp - 0x34]
push 0x47f7a4
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004233a0
add esp, 4
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push ecx
add edx, 0x5c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00406320
add esp, 4
push 0x10
mov byte [ebp - 4], 6
call fcn.0043c7ea
add esp, 4
mov dword [ebp - 0x18], eax
call fcn.00401640
test eax, eax
je 0x427125
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x24], eax
call fcn.00401640
mov ecx, eax
test ecx, ecx
je 0x427125
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x28], eax
call fcn.00401640
mov ecx, eax
test ecx, ecx
je 0x427125
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov edx, dword [ebp - 0x18]
mov dword [ecx], eax
lea eax, [ebx + 0x10]
lea ecx, [eax - 0x10]
mov byte [edx + 0xc], 0
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx]
sub ecx, 0x10
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x2c], ecx
je 0x426ecc
add ecx, 0xc
mov dword [ebp - 0x4c], ecx
cmp dword [ecx], 0
jl 0x426ec1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x40]
cmp ecx, dword [eax]
lea eax, [ebx + 0x10]
jne 0x426ec1
mov ecx, dword [ebp - 0x2c]
call fcn.00407630
mov edx, dword [ebp - 0x4c]
or ecx, 0xffffffff
mov dword [ebp - 0x50], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426eb7
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x426ecc
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.004076f0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov dword [ebp - 0x50], edx
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x40], ecx
cmp edx, ecx
je 0x426f37
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
jl 0x426f2b
mov edx, dword [edx]
cmp edx, dword [ecx]
jne 0x426f2b
mov ecx, dword [ebp - 0x50]
call fcn.00407630
mov dword [ebp - 0x50], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x4c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426f1e
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [ecx], eax
jmp 0x426f37
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004076f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x40], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x50], eax
cmp eax, ecx
je 0x426fa3
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x4c], eax
jl 0x426f97
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x426f97
mov ecx, dword [ebp - 0x50]
call fcn.00407630
mov dword [ebp - 0x50], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x4c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426f8a
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [ecx], eax
jmp 0x426fa3
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x28]
push edx
call fcn.004076f0
mov eax, dword [ebp - 0x18]
push 0
push 0
push eax
push 0x427720
push 0
push 0
mov byte [eax + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
test eax, eax
je 0x42712f
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 7
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x426fe5
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x426ff9
call fcn.00401640
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x427125
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push dword [esi - 0xc]
mov edx, dword [ebx + 0x5c]
add eax, 0x10
push esi
mov dword [ebp - 0x44], eax
push dword [edx - 0xc]
call fcn.004071f0
mov esi, dword [ebp - 0x44]
lea ecx, [ebx + 0x28]
add esp, 0xc
push esi
call fcn.0042e220
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x427049
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add dword [ebp - 0x38], 4
mov eax, ebx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42706b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427089
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4270a4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4270bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4270da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4270fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427115
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x426cea
jmp 0x427206
push 0x80004005
call fcn.004012a0
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00427270
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0xd], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42715b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42717a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427198
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4271b3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, ebx
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4271cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4271ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x427206
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
xor esi, esi
mov edi, dword [eax + 0x30]
test edi, edi
jle 0x42724f
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x427223
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push dword [ecx + esi*4]
call ebx
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x42724b
cmp dword [ebp - 0x50], 0
je 0x42724b
inc esi
cmp esi, edi
jl 0x427220
jmp 0x42724f
mov byte [ebp - 0xd], 0
push dword [ebp - 0x1c]
call fcn.0043cbb6
mov al, byte [ebp - 0xd]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret