Function at 0x424390
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x52e490
mov dword [esi + 0x10], edx
lea eax, [esi + 0xd0]
mov dword [esi + 0x14], ecx
mov ebx, 0x104
mov edx, dword fs:[0]
mov dword [esi + 0xd0], edx
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [esi + 0xc], edx
lea edx, [ecx + 0x30]
add ecx, 0x230
mov eax, edx
cmp word [eax], 0
je 0x4244a1
cmp word [eax + 2], 0
je 0x424480
cmp word [eax + 4], 0
je 0x424485
cmp word [eax + 6], 0
je 0x42448a
cmp word [eax + 8], 0
je 0x42448f
cmp word [eax + 0xa], 0
je 0x424494
cmp word [eax + 0xc], 0
je 0x424499
cmp word [eax + 0xe], 0
je 0x42449e
add ebx, 0xfffffff8
add eax, 0x10
cmp ebx, 7
ja 0x4243fb
cmp word [ecx], 0
je 0x4244a3
mov ecx, dword [esi + 0x14]
cmp word [ecx + 0x232], 0
je 0x424bf9
cmp word [ecx + 0x234], 0
je 0x424c04
cmp word [ecx + 0x236], 0
mov eax, 0x104
jne 0x4244b5
mov eax, dword [esi + 0x14]
lea ecx, [eax + 0x236]
jmp 0x4244a3
add eax, 2
jmp 0x4244a1
add eax, 4
jmp 0x4244a1
add eax, 6
jmp 0x4244a1
add eax, 8
jmp 0x4244a1
add eax, 0xa
jmp 0x4244a1
add eax, 0xc
jmp 0x4244a1
add eax, 0xe
mov ecx, eax
sub ecx, edx
mov eax, ecx
shr eax, 1
cmp ecx, 0x20a
jae 0x424d24
lea ecx, [esi + 0x30]
push eax
call fcn.0051b390
add esp, 4
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
test edi, edi
mov dword [esi], eax
mov dword [esi + 4], ecx
je 0x424520
js 0x424d35
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x4244f5
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x424505
mov dword [0x5a1188], eax
push edi
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, eax
test eax, eax
jne 0x424525
mov ecx, 1
mov edx, edi
mov dword [esi + 0xd8], 0
call fcn.00531970
jmp 0x424d44
mov ebx, 1
push edi
push dword [esi + 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [esi]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], edi
mov byte [esi + 0x84], 0
mov dword [esi + 0xd8], 1
lea ecx, [esi + 0x78]
push dword [esi + 4]
call fcn.005206f0
add esp, 4
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x80]
cmp dword [esi + 0x30], 0
mov edi, dword [esi + 0x14]
mov dword [esi + 0x54], eax
mov dword [esi + 0xc], edx
mov dword [esi + 4], ecx
je 0x42458d
push dword [esi]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x28]
mov ebx, dword [edi + 0x20]
movsd xmm1, qword [edi + 0x18]
movdqu xmm0, xmmword [edi + 8]
mov edi, dword [edi + 0x24]
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0
mov edx, ecx
movdqu xmmword [esi + 0x98], xmm0
movsd qword [esi + 0xa8], xmm1
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], edi
mov dword [esi], edi
mov dword [esi + 0xb8], ecx
shl edx, 0x15
sar edx, 0x1f
and edx, eax
test ecx, 0x400
mov dword [esi + 0xbc], edx
je 0x42465c
and eax, 0x20000000
je 0x42465c
mov ebx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, ebx
push 2
push dword [esi + 0x10]
lea eax, [esi + 0x78]
push eax
call fcn.00424f80
add esp, 0xc
mov eax, dword [esi + 0x54]
mov edi, dword [esi + 0x14]
test eax, eax
je 0x42463a
push ebx
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
lock dec dword [eax]
jne 0x424648
mov ecx, dword [edi]
call fcn.0040e210
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x58], ebx
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 4]
movaps xmmword [esi + 0x60], xmm1
mov ecx, ebx
mov edx, edi
call fcn.005217a0
test al, al
je 0x4246ba
mov ecx, ebx
mov edx, edi
call fcn.00523730
mov edi, dword [esi + 0x14]
mov ebx, eax
test eax, eax
je 0x424b35
mov edi, dword [esi + 0x10]
mov eax, edx
lea ecx, [esi + 0x18]
mov edx, edi
push 8
mov dword [esi], eax
push eax
push ebx
call fcn.00427090
add esp, 0xc
cmp byte [esi + 0x18], 4
jne 0x424828
mov dword [edi + 0x14], 0
jmp 0x4248bc
mov ecx, ebx
mov edx, edi
call fcn.005239e0
test al, al
je 0x424814
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, 0x3b9aca00
mov dword [esi + 0x5c], eax
je 0x42478f
movdqa xmm0, xmmword [esi + 0x60]
mov ecx, 0xd53e8000
mov ebx, 0xd53e7fff
movd edx, xmm0
pshufd xmm0, xmm0, 0x55
mov eax, edx
movd edi, xmm0
mov dword [esi + 8], edx
add eax, 0x2ac18000
mov dword [esi + 0x60], eax
mov eax, edi
adc eax, 0xfe624e21
sub ecx, edx
mov edx, 0x19db1de
sbb edx, edi
cmp ebx, dword [esi + 8]
mov ebx, 0x19db1de
sbb ebx, edi
mov ebx, dword [esi + 0xc]
cmovl edx, eax
mov eax, dword [ebp + 8]
cmovl ecx, dword [esi + 0x60]
mov eax, dword [eax]
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esi + 0x70], eax
push 0
push 0x989680
push edx
mov dword [esi + 0x74], ecx
push ecx
call fcn.0052e9d0
cmp dword [esi + 8], 0xd53e8000
sbb edi, 0x19db1de
mov edi, dword [esi + 0x14]
jl 0x42478f
cmp eax, dword [esi + 0x60]
mov ecx, edx
sbb ecx, dword [esi + 0x70]
jb 0x424cfe
mov ecx, dword [esi + 0x60]
xor edx, dword [esi + 0x70]
xor ecx, eax
or edx, ecx
jne 0x42478f
imul eax, eax, 0xff676980
add eax, dword [esi + 0x74]
imul eax, eax, 0x64
cmp eax, dword [esi + 0x5c]
jb 0x424cfe
movdqa xmm0, xmmword [0x539010]
lea eax, [esi + 0x30]
mov word [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x40], 7
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea ecx, [esi + 0x28]
mov edx, ebx
movdqu xmmword [esi + 0x30], xmm0
push eax
push dword [esi + 4]
call fcn.0051f000
add esp, 8
movzx eax, byte [esi + 0x28]
cmp al, 4
jne 0x424a2d
mov edx, dword [esi + 0x2c]
lea ecx, [esi + 0x18]
mov dword [esi + 0xd8], 3
mov dword [esi + 0x60], edx
call fcn.0051fcb0
push dword [esi + 0x60]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esi + 0x18], 0x80000000
jne 0x424be3
mov edi, dword [esi + 0x20]
jmp 0x424a4c
mov ecx, ebx
mov edx, edi
push dword [esi + 0x10]
call fcn.004250b0
add esp, 4
jmp 0x424621
mov edi, dword [edi + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test edi, edi
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc0], eax
je 0x424897
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x30]
call fcn.00407a80
movzx ecx, byte [esi + 0x30]
cmp cl, 4
jne 0x424d52
mov ecx, dword [esi + 0x10]
neg edi
mov eax, 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
sbb eax, eax
mov ecx, dword [ecx + 0x10]
push 1
lea edx, [esi + 0x30]
push edx
push eax
push edi
push ecx
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x424d73
mov eax, dword [esi + 0x10]
mov dword [eax + 0x14], 0
lea edi, [esi + 0x30]
mov edx, ebx
mov ecx, edi
push dword [esi]
call fcn.00524110
add esp, 4
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0xc0]
mov edx, edi
push eax
call fcn.00427dd0
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0xc]
movdqa xmm0, xmmword [0x539010]
mov word [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x40], 7
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov ecx, dword [eax + 0x98]
mov eax, dword [eax + 0x9c]
movdqu xmmword [esi + 0x30], xmm0
mov edx, edi
mov dword [esi + 0x60], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x28]
push eax
mov ebx, dword [esi + 4]
push ebx
call fcn.0051f000
add esp, 8
movzx eax, byte [esi + 0x28]
cmp al, 4
jne 0x42496b
mov edx, dword [esi + 0x2c]
lea ecx, [esi + 0x18]
mov dword [esi + 0xd8], 2
mov dword [esi], edx
call fcn.0051fcb0
push dword [esi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x18]
cmp eax, 0x80000000
jne 0x424a92
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 4]
mov dword [esi + 8], eax
movzx eax, byte [esi + 0x1c]
test ebx, ebx
mov dword [esi + 0x5c], eax
jne 0x424998
mov eax, 1
jmp 0x4249d3
movzx ecx, byte [esi + 0x2b]
mov edx, dword [esi + 0x2c]
mov byte [esi + 0x1f], cl
movzx ecx, word [esi + 0x29]
mov dword [esi + 8], edx
mov word [esi + 0x1d], cx
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], edx
mov dword [esi + 0x18], 0x80000000
movzx eax, byte [esi + 0x1c]
test ebx, ebx
mov dword [esi + 0x5c], eax
je 0x424964
js 0x424d9e
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x4249c1
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x424d46
mov dword [0x5a1188], eax
push ebx
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x424d46
push ebx
push edi
mov dword [esi], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x5c], 3
jne 0x424a26
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
push edi
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
je 0x424a12
cmp dword [ebx + 8], 9
jb 0x424a03
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [esi + 8]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esi + 8], ebx
jmp 0x424a9b
movzx ecx, byte [esi + 0x2b]
movzx edx, word [esi + 0x29]
mov edi, dword [esi + 0x2c]
mov byte [esi + 0x1f], cl
mov word [esi + 0x1d], dx
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], 0x80000000
movzx ebx, byte [esi + 0x1c]
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0x30]
push dword [esi + 4]
call fcn.00523850
add esp, 4
cmp bl, 3
jne 0x424c43
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esi], eax
push eax
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
je 0x424c23
cmp dword [ebx + 8], 9
jae 0x424c0f
mov eax, dword [esi]
jmp 0x424c14
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [esi + 8], eax
lea ecx, [esi + 0x30]
mov dword [esi], edx
push ebx
call fcn.00524110
add esp, 4
mov edi, dword [esi + 0x34]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x60]
push dword [esi + 0x38]
push edi
call fcn.0040ea60
add esp, 8
test dword [esi + 0x30], 0x7fffffff
mov ebx, eax
je 0x424ad8
push edi
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 8], 0
je 0x424aee
push dword [esi]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esi + 0x14]
test bl, bl
jne 0x424b0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
dec eax
push eax
push dword [ebp + 8]
push dword [esi + 0x10]
call fcn.00423920
add esp, 0xc
mov ebx, dword [esi + 0x10]
mov byte [esi + 0x30], 0
lea ecx, [esi + 0x28]
mov edx, ebx
push 1
lea eax, [esi + 0x30]
push eax
call fcn.00426f60
add esp, 8
cmp byte [esi + 0x28], 4
jne 0x424b48
mov dword [ebx + 0x14], 0
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x42462b
jmp 0x42463a
mov edi, dword [ebx + 0x14]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
test edi, edi
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
je 0x424baa
lea ecx, [esi + 0x30]
mov edx, ebx
call fcn.00407a80
movzx ecx, byte [esi + 0x30]
cmp cl, 4
jne 0x424d52
mov ecx, dword [ebx + 0x10]
neg edi
mov eax, 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
sbb eax, eax
push 1
lea edx, [esi + 0x30]
push edx
push eax
push edi
push ecx
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x424d73
mov dword [ebx + 0x14], 0
mov edx, dword [esi + 0xc]
lea edi, [esi + 0x30]
mov ecx, edi
push dword [esi + 4]
call fcn.00524110
add esp, 4
lea eax, [esi + 0x18]
mov ecx, ebx
mov edx, edi
push eax
call fcn.00427dd0
add esp, 4
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x42462b
jmp 0x42463a
movq xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0x38], xmm1
movq qword [esi + 0x30], xmm0
jmp 0x424c43
add ecx, 0x232
jmp 0x4244a3
add ecx, 0x234
jmp 0x4244a3
mov eax, dword [esi]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov dword [esi], eax
mov dword [esi + 0x58], ecx
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x18]
mov dword [esi + 0x60], edx
push dword [esi + 0x38]
call fcn.00524110
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov ecx, dword [edi + 0x88]
mov edx, dword [edi + 0x8c]
push dword [esi + 0x20]
mov dword [esi + 8], eax
push eax
call fcn.0040ea60
add esp, 8
mov edx, dword [esi]
mov ecx, dword [esi + 0x58]
mov ebx, eax
cmp edx, dword [edi + 0xa8]
sbb ecx, dword [edi + 0xac]
setb bh
test dword [esi + 0x18], 0x7fffffff
je 0x424ca8
push dword [esi + 8]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
and bl, bh
cmp dword [esi + 0x30], 0
je 0x424cc1
push dword [esi + 0x60]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0xb0]
mov edi, dword [esi + 0x14]
or eax, dword [esi + 0xb4]
setne al
test bl, al
mov ebx, dword [esi + 0xc]
je 0x424cfe
mov edx, dword [esi + 4]
mov ecx, ebx
push dword [esi + 0x10]
lea eax, [esi + 0x78]
push eax
call fcn.00424e50
add esp, 8
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x42462b
jmp 0x42463a
mov edx, dword [esi + 4]
mov ecx, ebx
push 0
push dword [esi + 0x10]
lea eax, [esi + 0x78]
push eax
call fcn.00424f80
add esp, 0xc
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x42462b
jmp 0x42463a
mov ecx, eax
mov edx, 0x104
push 0x59d880
call fcn.00532d00
mov dword [esi + 0xd8], 0
call fcn.004478d0
ud2
mov ecx, 1
mov edx, ebx
call fcn.00531970
movzx edx, byte [esi + 0x37]
movzx eax, word [esi + 0x35]
movzx ebx, cl
lea edi, [esi + 0x30]
shl edx, 0x10
or eax, edx
mov edx, dword [esi + 0x31]
shld eax, edx, 8
shl edx, 8
or ebx, edx
jmp 0x424d7e
xor ebx, ebx
lea edi, [esi + 0x30]
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x53b8c8
push 0x539ed0
push edi
call fcn.00533020
call fcn.004478d0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0xdc]
mov ebp, dword [esi + 0xc8]
cmp dword [esi + 0x30], 0
je 0x424dd6
push dword [esi]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x14
pop ebp
ret