Function at 0x525a60
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 0x120]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x525b26
cmp dword [ebp + 0x1c], esi
je 0x525b26
cmp dword [ebp + 0x18], esi
je 0x525b26
mov eax, dword [ebp + 0x20]
cmp eax, esi
je 0x525ab9
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
je 0x525b26
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x20], esi
mov ecx, dword [ebp + 0x1c]
lea edi, [ebp + 0x38]
push edi
call fcn.00536d70
mov eax, dword [edi]
cmp eax, esi
je 0x525b26
mov cl, byte [eax + 0xc]
test cl, cl
je 0x525b26
mov al, byte [ebp + 0x3c]
lea ebx, [ebp + 0x3c]
test al, al
je 0x525b26
cmp dword [ebp + 0x48], esi
jle 0x525b26
cmp dword [ebp + 0x11e8], esi
jne 0x525b4d
push 0x2000
mov dword [ebp + 0x11f0], 0x20
call fcn.004c2e90
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [ebp + 0x11e8], edi
jne 0x525b34
push str.Tester:_not_enough_memory_for_results
push 1
push 0x5960a0
mov dword [ebp + 0x11f0], esi
call fcn.0046b660
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
xor edx, edx
pop ebx
add esp, 8
ret 0x18
mov ecx, dword [ebp + 0x11f0]
xor eax, eax
shl ecx, 8
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp + 0xa0]
cmp edi, esi
je 0x525b69
mov esi, dword [ebp + 0x1c]
mov ecx, 0x20
add esi, 0x1fd8
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea edi, [ebp + 0x68]
cmp edi, esi
je 0x525b82
mov esi, dword [ebp + 0x1c]
mov ecx, 0xe
add esi, 0x1f90
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebp + 0x58], esi
jne 0x525b8d
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x120]
mov edx, dword [ebp + 0x48]
mov ecx, dword [eax + 0x2c]
cmp ecx, edx
je 0x525ba4
mov dword [eax + 0x18], 0xffffffff
mov edx, dword [ebp + 0x120]
mov eax, dword [ebp + 0x48]
mov esi, ebx
mov dword [edx + 0x2c], eax
mov edi, dword [ebp + 0x120]
lea eax, [edi + 0x20]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x525bdf
test cl, cl
je 0x525bdb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x525bdf
add eax, 2
add esi, 2
test cl, cl
jne 0x525bbb
xor eax, eax
jmp 0x525be4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x525c0f
mov dword [edi + 0x18], 0xffffffff
mov eax, dword [ebp + 0x120]
push 0xb
add eax, 0x20
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [ebp + 0x120]
add esp, 0xc
mov byte [ecx + 0x2b], 0
mov edx, dword [ebp + 0x120]
lea eax, [ebp + 0x38]
push eax
push edx
lea ecx, [ebp + 0x72d0]
call fcn.0053fd60
test eax, eax
je 0x525b26
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x70]
mov ebx, dword [esp + 0x20]
mov dword [eax], ecx
mov edx, dword [ebp + 0x74]
mov dword [ebx], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x525c50
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x78]
mov dword [eax], ecx
jmp 0x525c5a
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x73d0]
mov dword [ecx], edx
mov ecx, dword [eax]
test ecx, ecx
jne 0x525c77
fild dword [ebp + 0x6c]
mov edx, dword [esp + 0x30]
fstp qword [edx]
jmp 0x525c88
mov eax, dword [esp + 0x30]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0x138]
mov esi, dword [eax + 0x1fd0]
mov edi, dword [eax + 0x1fc8]
push esi
push edi
call fcn.004dfe40
test eax, eax
je 0x525b26
push esi
push edi
lea ecx, [ebp + 0x890]
call fcn.00520bd0
mov edi, dword [esp + 0x24]
xor esi, esi
mov eax, 1
mov dword [edi], esi
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 0x1200], eax
cmp ecx, esi
mov dword [ebp + 0x1204], esi
je 0x525e3c
mov eax, dword [ebp + 0x748]
mov dword [ebp + 0x11f8], eax
mov ecx, dword [ebp + 0x74c]
mov eax, ecx
mov dword [ebp + 0x11fc], ecx
cmp eax, esi
jg 0x525d0e
jl 0x525d09
cmp dword [ebp + 0x11f8], 0xc8
jae 0x525d0e
mov dword [ebx], esi
mov dword [ebp + 0x74], esi
cmp dword [ebx], esi
je 0x525e22
mov eax, dword [ebp + 0x11fc]
mov ebx, 0x40
cmp eax, esi
jl 0x525d48
jg 0x525d33
cmp dword [ebp + 0x11f8], 0x7fffffff
jb 0x525d48
mov dword [ebp + 0x1200], 0x100
mov dword [ebp + 0x1204], esi
jmp 0x525dcc
mov ecx, dword [ebp + 0x11f8]
mov eax, 0x10624dd3
imul ecx
mov eax, edx
sar eax, 6
mov edx, eax
shr edx, 0x1f
add eax, edx
cdq
mov dword [ebp + 0x1200], eax
mov eax, edx
cmp eax, esi
mov dword [ebp + 0x1204], edx
jg 0x525d8a
jl 0x525d7e
cmp dword [ebp + 0x1200], ebx
jae 0x525d8a
mov dword [ebp + 0x1200], ebx
mov dword [ebp + 0x1204], esi
mov ecx, dword [ebp + 0x1204]
mov eax, 0x100
cmp ecx, esi
jl 0x525daf
jg 0x525da3
cmp dword [ebp + 0x1200], eax
jbe 0x525daf
mov dword [ebp + 0x1200], eax
mov dword [ebp + 0x1204], esi
mov ecx, dword [ebp + 0x1200]
and ecx, 0xfffffffe
mov dword [ebp + 0x1200], ecx
mov eax, dword [ebp + 0x1204]
and eax, esi
mov dword [ebp + 0x1204], eax
mov ecx, dword [ebp + 0x1200]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 0xf]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr edx, 0x1f
add eax, edx
add eax, ecx
mov ecx, dword [ebp + 0x1204]
push ecx
mov ecx, dword [ebp + 0x1200]
cdq
push ecx
push edx
push eax
call fcn.005634b0
mov dword [ebp + 0x1200], eax
mov dword [ebp + 0x1204], edx
mov edx, dword [ebp + 0x1200]
mov dword [edi], edx
jmp 0x525e48
mov eax, dword [ebp + 0x11f8]
mov ecx, dword [ebp + 0x11fc]
mov dword [ebp + 0x1200], eax
mov dword [ebp + 0x1204], ecx
jmp 0x525e48
mov dword [ebp + 0x11f8], eax
mov dword [ebp + 0x11fc], esi
mov edx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x6c]
push edx
push 1
push eax
lea ecx, [ebp + 0x1208]
call fcn.0053a5d0
mov dword [ebp + 0x11ec], esi
mov dword [ebp + 0x30], esi
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
push 0x525eb0
push 0x3e800
push esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
mov dword [ebp + 0x20], eax
je 0x525e91
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 0x11f8]
mov edx, dword [ebp + 0x11fc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x18