Function at 0x42b020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a40b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x6dc0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x20]
test ecx, ecx
mov ebx, dword [ebp + 8]
mov edi, 1
cmovne edi, ecx
mov ecx, dword [ebp + 0xc]
shrd ebx, ecx, 0x1b
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
shr ecx, 0x1b
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0xc], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, ebx
or eax, ecx
jne 0x42b095
mov ebx, 1
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x20], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
xor esi, esi
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
cmp edi, 1
jbe 0x42b1d7
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov eax, edi
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00545b74
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42b107
push 0x41ee50
push fcn.00403680
push edi
lea ebx, [eax + 4]
mov dword [eax], edi
push 0x20
push ebx
mov dword [ebp + 0x20], ebx
call fcn.00545b8b
jmp 0x42b10c
xor ebx, ebx
mov dword [ebp + 0x20], ebx
xor ecx, ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x28], ebx
test edi, edi
je 0x42b148
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
inc ecx
mov dword [eax - 4], edx
mov dword [eax], 0
lea eax, [eax + 0x20]
mov dword [eax - 0x10], ebx
mov dword [eax - 0xc], esi
mov dword [eax - 0x18], 0x100000
cmp ecx, edi
jb 0x42b125
mov ebx, dword [ebp + 0x20]
xor esi, esi
lea ecx, [ebp - 0xac]
call fcn.004274a0
mov dword [ebp + 0x20], 0
test edi, edi
je 0x42b1ab
nop
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
push 0x429fc0
push 0
push 0
call fcn.005e7638
add esp, 0x18
mov dword [ebx], eax
test eax, eax
jne 0x42b199
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
jne 0x42b3a0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0x20]
inc esi
inc eax
mov dword [ebp - 0x24], esi
add ebx, 0x20
mov dword [ebp + 0x20], eax
cmp eax, edi
jb 0x42b160
lea ecx, [ebp - 0x28]
call fcn.0042a020
xor ecx, ecx
test edi, edi
je 0x42b23c
mov eax, dword [ebp - 0x28]
add eax, 8
mov esi, dword [eax]
test esi, esi
jne 0x42b3a0
inc ecx
add eax, 0x20
cmp ecx, edi
jb 0x42b1c3
jmp 0x42b23c
lea ecx, [ebp - 0xac]
call fcn.004274a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42b1f8
cmp dword [ebp - 0x20], eax
jbe 0x42b234
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
test esi, esi
jne 0x42b3a0
push ecx
mov ecx, dword [ebp - 0x2c]
mov edx, 0x100000
call fcn.00429ea0
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
add ebx, 0xffffffff
adc eax, 0xffffffff
mov dword [ebp - 0x18], eax
test eax, eax
ja 0x42b1f8
jb 0x42b234
test ebx, ebx
jne 0x42b1f8
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x2c]
add dword [ecx], eax
movups xmm0, xmmword [ebp - 0xac]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [ebp - 0x3c], xmm0
call esi
movups xmm0, xmmword [ebp - 0xac]
xor edx, edx
movd ecx, xmm0
psrldq xmm0, 4
sub eax, ecx
movd ecx, xmm0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
sbb edx, ecx
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x68], edx
push eax
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x42b2ca
mov edx, dword [ebp - 0x18]
xor esi, esi
or esi, dword [ebp - 0x1c]
xor eax, eax
or eax, dword [ebp - 0x30]
add esi, eax
adc edx, dword [ebp - 0x2c]
jmp 0x42b2d5
call esi
mov ecx, 0x2710
mul ecx
mov esi, eax
sub esi, dword [ebp - 0x74]
xorps xmm0, xmm0
mov ebx, dword [ebp - 0x34]
sbb edx, dword [ebp - 0x70]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], edx
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
test ebx, ebx
je 0x42b39e
mov ecx, 0x100000
mov eax, 0x80
mul ecx
push 0
push edi
push edx
push eax
call fcn.00546280
push dword [ebp + 0xc]
push dword [ebp - 0x20]
push edx
push eax
call fcn.00546280
push edx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00427940
push 0
mov ecx, edx
mov dword [ebp + 0xc], eax
push edi
push ecx
push eax
mov dword [ebp + 0x20], ecx
call fcn.005462c0
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edx
je 0x42b367
mov ecx, dword [ebp + 0x14]
mov eax, ecx
mov edx, dword [ebp + 0x18]
or eax, edx
jne 0x42b375
mov ecx, dword [esi]
mov edx, dword [esi + 4]
jmp 0x42b375
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
push edx
push ecx
push dword [ebp + 0x10]
lea edx, [ebp - 0x6c]
mov ecx, ebx
push dword [ebp + 0x20]
push dword [ebp + 0xc]
push 0
call fcn.0042a7f0
mov eax, dword [ebx]
add esp, 0x1c
mov ecx, ebx
call dword [eax + 8]
mov esi, eax
test esi, esi
jne 0x42b3a0
xor esi, esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0042a020
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42b3e1
push 0x41ee50
lea edi, [eax - 4]
mov dword [ebp - 4], 6
push dword [edi]
push 0x20
push eax
call fcn.00545bf4
mov eax, dword [edi]
shl eax, 5
add eax, 4
push eax
push edi
call fcn.00545b7d
add esp, 8
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