Function at 0x58bdb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74b798
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x8bb040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov byte [ebx], 0
mov dword [ebx + 4], eax
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
lea ecx, [ebx + 0x30]
mov dword [ebp + 8], ecx
mov dword [ebp + 8], ecx
mov dword [ecx + 0x7300], 0
lea edi, [ecx + 0x730c]
mov dword [ecx + 0x7304], 0
xor eax, eax
mov dword [ecx + 0x7308], 0
mov dword [edi], 0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push 0x734
push eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov edx, 6
mov ecx, edi
call fcn.004d3220
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov edx, 0x1ce
lea ecx, [edi + 0x20]
call fcn.004d3220
push 0x300
lea esi, [ebx + 0x30]
mov dword [esi + 0x7304], 0
push 0
push esi
mov dword [esi + 0x7308], 1
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x80c428]
add esp, 0x20
mov dword [esi + 0x7a64], eax
mov eax, dword [0x80c42c]
mov dword [esi + 0x7a68], eax
mov eax, dword [0x80c430]
mov dword [esi + 0x7a6c], eax
mov eax, dword [0x80c434]
mov dword [esi + 0x7a70], eax
mov eax, dword [0x80c438]
mov dword [esi + 0x7a74], eax
mov dword [esi + 0x7a78], 0
mov dword [esi + 0x7a7c], 0
mov byte [ebx + 0x7ab0], 0
mov dword [ebx + 0x7ab4], 0x3f000000
mov byte [ebx + 0x7ab8], 0
mov dword [ebx + 0x7abc], 0
mov byte [ebx + 0x16aac0], 0
mov byte [ebx + 0x16aec4], 0
mov dword [ebx + 0x16aec8], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
call fcn.004e1340
mov esi, dword [ebx + 8]
mov ecx, ebx
call fcn.0058e830
test al, al
jne 0x58bf8a
xor eax, eax
jmp 0x58bf95
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
call fcn.0058bd80
push 0
push eax
push 0x140
push 0x238
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.005aa590
or esi, 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, dword [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
test edi, edi
je 0x58bfee
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x58bfee
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x58bfee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x58c014
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x58c014
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x58c014
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x1c]
push 0
push 0
push 0x140
push 0x140
push eax
call fcn.005aa590
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, dword [ebx + 0x24]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], edx
test edi, edi
je 0x58c06c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x58c06c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x58c06c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x58c092
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x58c092
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x58c092
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x1c]
push 0x81f7b4
push 1
push 1
push 1
push eax
call fcn.005aa590
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, dword [ebx + 0x2c]
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
test edi, edi
je 0x58c0e7
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x58c0e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x58c0e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x58c10c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x58c10c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x58c10c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebx + 0x28]
mov byte [eax + 0xc], 1
mov dword [eax + 0x10], 0x23
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x80]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edi, [ebx + 0x7ac0]
cmp eax, dword [ecx]
jne 0x58c157
push 0xb1800
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x58c160
mov ecx, 0x2c600
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
sub esp, 8
mov ecx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], str.threads
mov dword [eax + 4], 7
call fcn.00481e10
mov byte [ebp + 8], al
lea ecx, [ebx + 0x30]
push dword [ebp + 8]
call fcn.004dec10
mov esi, dword [ebx + 4]
push 0xd0
call fcn.0073298e
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
lea edi, [ecx + 0xb8]
lea edx, [ecx + 0xc0]
mov dword [ecx], esi
lea eax, [ecx + 0xa0]
mov dword [ecx + 4], 0
lea ebx, [ecx + 0xb4]
mov dword [ecx + 8], str.phase_shift
lea esi, [ecx + 0xbc]
mov dword [ecx + 0xc], 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], str.red_scale
mov dword [ecx + 0x18], 9
mov dword [ecx + 0x1c], eax
lea eax, [ecx + 0xa4]
mov dword [ecx + 0x20], str.green_scale
mov dword [ecx + 0x24], 0xb
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0xa8]
mov dword [ecx + 0x2c], str.blue_scale
mov dword [ecx + 0x30], 0xa
mov dword [ecx + 0x34], eax
lea eax, [ecx + 0xac]
mov dword [ecx + 0x38], str.red_shift
mov dword [ecx + 0x3c], 9
mov dword [ecx + 0x40], eax
lea eax, [ecx + 0xb0]
mov dword [ecx + 0x44], str.green_shift
mov dword [ecx + 0x48], 0xb
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x50], str.blue_shift
mov dword [ecx + 0x54], 0xa
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], 0x80a6a0
mov dword [ecx + 0x60], 3
mov dword [ecx + 0x64], edi
mov dword [ecx + 0x68], str.saturation
mov dword [ecx + 0x6c], 0xa
mov dword [ecx + 0x70], esi
mov dword [ecx + 0x74], str.contrast
mov dword [ecx + 0x78], 8
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x80], str.brightness
mov dword [ecx + 0x84], 0xa
add ecx, 0xc4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + 0x88], ecx
mov dword [eax + 0x8c], str.gamma
mov dword [eax + 0x90], 5
add eax, 0xc8
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], 0x41d1999a
mov dword [ebx + 0x9c], 0x41fa6666
mov dword [ebx + 0xa0], 0x3f800000
mov dword [ebx + 0xa4], 0x3f800000
mov dword [ebx + 0xa8], 0x3f800000
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov ebx, dword [ebp - 0x18]
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx], 0
mov dword [ebx], 0
mov esi, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ecx], 0
mov byte [eax + 0xcc], 0
mov ecx, dword [esi + 0x16aec8]
mov dword [esi + 0x16aec8], eax
test ecx, ecx
je 0x58c36d
push 0xd0
push ecx
call fcn.00732c0f
add esp, 8
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x16aec8]
push dword [eax + 0x10]
call fcn.004b9210
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 4