Function at 0x4324d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5066b8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
cmp ecx, 1
jbe 0x43250c
mov ebx, ecx
shr ebx, 1
mov dword [ebp - 0x1c], ebx
jmp 0x432516
mov dword [ebp - 0x1c], 1
mov ebx, dword [ebp - 0x1c]
mov eax, 1
cmp eax, ecx
sbb eax, eax
neg eax
inc eax
cmp dword [ebp + 0xc], 0x40000
mov dword [ebp - 0x20], eax
jb 0x432d68
cmp ecx, 1
jb 0x432d68
cmp ebx, 0x10000
ja 0x432d68
lea esi, [ebp - 0x14]
call fcn.00432300
xor eax, eax
mov dword [ebp - 4], eax
cmp ebx, eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jbe 0x432641
lea edi, [ebx + 8]
mov dword [ebp - 0x24], edi
jmp 0x432576
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [ebp + 0x10]
push 1
mov dword [edi + 0x54], ecx
push 0
push 0x30101
mov ecx, edi
call fcn.00423e90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4327df
cmp dword [edi], eax
je 0x43281e
xor edi, edi
cmp dword [ebp - 0x20], edi
jbe 0x43262a
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], edi
add esi, 0x3c
lea ebx, [ebx]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x2c]
push edx
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
push 0x30101
xor dl, dl
mov byte [ebp - 4], 3
call fcn.00423d20
mov ebx, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add esp, 0x14
test eax, eax
je 0x4325fa
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43260d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
test ebx, ebx
jne 0x432860
cmp dword [esi], ebx
je 0x4328a4
inc edi
add esi, 4
cmp edi, dword [ebp - 0x20]
jb 0x4325c0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x24], 0x84
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jb 0x432570
xor edi, edi
mov dword [ebp - 0x38], 0x159a55e5
mov dword [ebp - 0x34], 0x1f123bb5
cmp dword [ebp - 0x1c], edi
jbe 0x432689
mov esi, dword [ebp - 0x14]
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x38]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00431c10
mov ebx, eax
test ebx, ebx
jne 0x4328cb
inc edi
add esi, 0x84
cmp edi, dword [ebp - 0x1c]
jb 0x432660
lea eax, [ebp - 0x58]
push eax
call fcn.00455b70
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], eax
jbe 0x4328fc
mov edi, edi
mov ebx, dword [ebp - 0x18]
imul ebx, ebx, 0x84
add ebx, dword [ebp - 0x14]
mov dword [ebp + 8], 0
lea edi, [ebx + 0x14]
push 0x50
call fcn.004e4985
mov esi, eax
add esp, 4
test esi, esi
je 0x432969
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.CBenchProgressInfo.0
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], eax
mov dword [edi - 8], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [edi]
test eax, eax
je 0x432704
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], esi
mov eax, dword [edi - 8]
lea ecx, [ebp - 0x58]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
inc eax
add edi, 4
mov dword [ebp + 8], eax
cmp eax, 2
jl 0x4326c6
cmp dword [ebp - 0x18], 0
jne 0x432745
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x40], edx
mov eax, dword [ebx + 0xc]
add eax, 0x10
push eax
call fcn.00431560
add esp, 4
cmp dword [ebp - 0x1c], 1
jbe 0x4328db
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x150
lea edx, [ebp + 0xc]
push edx
push 0
push ebx
push 0x431b30
and ecx, 0x7ff
push 0
push 0
mov dword [ebx + 0x20], ecx
call fcn.004e50d8
add esp, 0x18
mov dword [ebx], eax
test eax, eax
jne 0x4328ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43295f
mov edi, eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4327cb
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4323e0
push edx
push 0x84
push eax
call fcn.004e42be
push esi
call fcn.004e3e60
add esp, 4
mov eax, edi
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 dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x43280a
mov eax, dword [ebx - 4]
lea edi, [ebx - 4]
push 0x4323e0
push eax
push 0x84
push ebx
call fcn.004e42be
push edi
call fcn.004e3e60
add esp, 4
mov eax, esi
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 dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x432849
mov ecx, dword [ebx - 4]
lea esi, [ebx - 4]
push 0x4323e0
push ecx
push 0x84
push ebx
call fcn.004e42be
push esi
call fcn.004e3e60
add esp, 4
mov eax, 0x80004001
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 dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x432890
mov eax, dword [ebp - 0x14]
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4323e0
push edx
push 0x84
push eax
call fcn.004e42be
push esi
call fcn.004e3e60
add esp, 4
mov eax, ebx
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 dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x432849
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4323e0
push ecx
push 0x84
push eax
jmp 0x43283b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x432890
jmp 0x432870
mov edi, ebx
call fcn.00431f50
mov esi, eax
test esi, esi
jne 0x43297c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jb 0x4326b0
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
cmp ebx, 1
jbe 0x432924
test ebx, ebx
je 0x432924
mov esi, edi
lea ecx, [ecx]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 0x84
dec ebx
jne 0x432910
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4329af
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x432890
mov eax, dword [edi - 4]
lea esi, [edi - 4]
push 0x4323e0
push eax
push 0x84
push edi
jmp 0x432882
mov edi, 1
jmp 0x432793
xor al, al
mov byte [ebp + 0xb], al
push 0x535d2c
lea eax, [ebp + 0xb]
push eax
call fcn.004e9bcf
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43280a
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x4323e0
push ecx
push 0x84
push eax
jmp 0x4327fc
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x94]
push ecx
add edx, 0x10
push edx
call fcn.004315f0
mov esi, dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 1
cmp esi, ebx
jbe 0x432a02
lea eax, [edi + 0x68]
mov ecx, esi
mov edx, dword [eax - 4]
add dword [ebp - 0x74], edx
adc dword [ebp - 0x70], ebx
mov edx, dword [eax]
add dword [ebp - 0x6c], edx
adc dword [ebp - 0x68], ebx
add eax, 0x84
dec ecx
jne 0x4329e9
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax]
push 1
lea edx, [ebp - 0x94]
push edx
call eax
mov ebx, eax
test ebx, ebx
je 0x432a41
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea esi, [edi - 4]
push 0x4323e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi]
push edx
push 0x84
push edi
jmp 0x432882
mov eax, dword [ebp - 0x20]
imul eax, esi
xor ebx, ebx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], ebx
test esi, esi
je 0x432b34
mov esi, ebx
imul esi, esi, 0x84
add esi, dword [ebp - 0x14]
xor edx, edx
mov eax, 0x4000000
div dword [esi + 0x64]
add eax, 2
mov dword [esi + 0x1c], eax
test ebx, ebx
jne 0x432aa2
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x4c], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov dword [edx + 0x40], eax
mov ecx, dword [esi + 0xc]
add ecx, 0x10
push ecx
call fcn.00431560
add esp, 4
cmp dword [ebp + 8], 1
jbe 0x432b16
xor edi, edi
cmp dword [ebp - 0x20], edi
jbe 0x432b27
mov ebx, dword [ebp - 0x18]
imul ebx, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 0
jne 0x432ac4
test edi, edi
jne 0x432ac4
mov cl, 1
jmp 0x432ac6
xor cl, cl
mov edx, edi
add edx, edx
lea eax, [esi + edx*8 + 0x24]
lea edx, [ebx + edi]
mov byte [eax + 0xc], cl
imul edx, edx, 0x150
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
push 0x431b90
and edx, 0x7ff
push 0
push 0
mov dword [eax + 4], edi
mov dword [eax], esi
mov dword [eax + 8], edx
call fcn.004e50d8
add esp, 0x18
mov dword [esi + edi*4], eax
test eax, eax
je 0x432bea
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x432ab6
mov ebx, dword [ebp - 0x18]
jmp 0x432b27
push 0
call fcn.00432050
mov esi, eax
test esi, esi
jne 0x432c43
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, dword [ebp - 0x1c]
jb 0x432a62
cmp dword [ebp + 8], 1
mov edi, dword [ebp - 0x14]
mov dword [ebp + 0xc], 0
jbe 0x432c5c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x432c5c
mov ebx, edi
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0
jbe 0x432b8f
mov edx, dword [ebp - 0x20]
mov esi, 0x4c
mov dword [ebp + 8], edx
lea esp, [esp]
mov eax, dword [ebx + esi - 0x4c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + esi]
test eax, eax
je 0x432b87
mov dword [ebp + 0xc], eax
add esi, 4
dec dword [ebp + 8]
jne 0x432b70
add ebx, 0x84
dec dword [ebp - 0x2c]
jne 0x432b58
cmp dword [ebp + 0xc], 0
je 0x432c5c
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x4323e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi - 4]
lea esi, [edi - 4]
push ecx
push 0x84
push edi
call fcn.004e42be
push esi
call fcn.004e3e60
mov eax, dword [ebp + 0xc]
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
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x432bfb
mov edi, 1
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4323e0
push ecx
push 0x84
push eax
call fcn.004e42be
push esi
call fcn.004e3e60
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x432998
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x432c79
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
jmp 0x432948
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x94]
push ecx
add edx, 0x10
push edx
call fcn.004315f0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
mov eax, dword [edi + 0x1c]
imul eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x64], eax
cmp ecx, edx
jbe 0x432cca
lea eax, [edi + 0x68]
mov esi, dword [eax - 4]
add dword [ebp - 0x74], esi
adc dword [ebp - 0x70], edx
mov esi, dword [eax]
add dword [ebp - 0x6c], esi
adc dword [ebp - 0x68], edx
add eax, 0x84
dec ecx
jne 0x432cb1
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
push edx
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, esi
call edx
mov ebx, eax
test ebx, ebx
je 0x432d0b
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea esi, [edi - 4]
push 0x4323e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
push ecx
push 0x84
push edi
jmp 0x432882
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 1
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call edx
mov ebx, eax
test ebx, ebx
jne 0x432ce4
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x4323e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi - 4]
lea esi, [edi - 4]
push eax
push 0x84
push edi
call fcn.004e42be
push esi
call fcn.004e3e60
add esp, 4
xor eax, eax
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, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret