Function at 0x598b50
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [esi], str.Kernel
mov dword [esi + 4], 6
mov dword [esi + 8], 0
mov ecx, dword [0x7f15a8]
mov dword [ebp - 4], 0
cmp ecx, 0xffff
jle 0x598bb3
mov eax, 0xffff
jmp 0x598bc3
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x598bc0
xor eax, eax
jmp 0x598bc3
movzx eax, cx
movzx edi, ax
mov eax, edi
mov dword [esi + 0x10], 0
shl eax, 6
push 0x40
push eax
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
call fcn.004e81a0
mov dword [esi + 0x20], eax
add esp, 8
mov dword [esi + 0x24], edi
mov ecx, dword [0x7f15b0]
mov dword [ebp - 4], 1
cmp ecx, 0xffff
jle 0x598c0d
mov eax, 0xffff
jmp 0x598c1d
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x598c1a
xor eax, eax
jmp 0x598c1d
movzx eax, cx
movzx edi, ax
mov eax, edi
mov dword [esi + 0x28], 0
shl eax, 6
push 0x40
push eax
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
call fcn.004e81a0
mov dword [esi + 0x38], eax
add esp, 8
mov dword [esi + 0x3c], edi
mov ecx, dword [0x7f15b8]
mov dword [ebp - 4], 2
cmp ecx, 0xffff
jle 0x598c67
mov eax, 0xffff
jmp 0x598c77
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x598c74
xor eax, eax
jmp 0x598c77
movzx eax, cx
movzx edi, ax
mov eax, edi
mov dword [esi + 0x40], 0
shl eax, 6
push 0x40
push eax
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0
call fcn.004e81a0
mov dword [esi + 0x50], eax
add esp, 8
mov dword [esi + 0x54], edi
mov ecx, dword [0x7f15c0]
mov dword [ebp - 4], 3
cmp ecx, 0xffff
jle 0x598cc1
mov eax, 0xffff
jmp 0x598cd1
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x598cce
xor eax, eax
jmp 0x598cd1
movzx eax, cx
movzx edi, ax
mov dword [esi + 0x58], 0
push 0x80
mov dword [esi + 0x60], 0xffffffff
lea eax, [edi + edi*4]
mov dword [esi + 0x64], 0
shl eax, 7
push eax
call fcn.004e81a0
mov dword [esi + 0x68], eax
add esp, 8
mov dword [esi + 0x6c], edi
mov ecx, dword [0x7f15c8]
mov dword [ebp - 4], 4
cmp ecx, 0xffff
jle 0x598d1f
mov eax, 0xffff
jmp 0x598d2f
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x598d2c
xor eax, eax
jmp 0x598d2f
movzx eax, cx
movzx edi, ax
mov eax, edi
mov dword [esi + 0x70], 0
shl eax, 6
push 0x40
push eax
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x7c], 0
call fcn.004e81a0
mov dword [esi + 0x80], eax
add esp, 8
mov dword [esi + 0x84], edi
mov ecx, dword [0x7f15d0]
mov dword [ebp - 4], 5
cmp ecx, 0xffff
jle 0x598d7f
mov eax, 0xffff
jmp 0x598d8f
mov eax, ecx
shr eax, 0x1f
test al, al
je 0x598d8c
xor eax, eax
jmp 0x598d8f
movzx eax, cx
movzx edi, ax
xor eax, eax
mov dword [esi + 0x88], 0
mov dword [ebp - 0x14], eax
mov dword [esi + 0x94], eax
mov eax, edi
shl eax, 6
push 0x40
push eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
call fcn.004e81a0
add esp, 8
mov dword [esi + 0x9c], edi
lea edi, [esi + 0xa0]
mov dword [esi + 0x98], eax
mov dword [ebp - 4], 0xffffffff
push 0x48ed50
push 0x48d8d0
push 0x10
push 8
push edi
call fcn.006c0a02
mov dword [esi + 0x120], 0
lea ecx, [esi + 0x128]
mov dword [esi + 0x120], 0
xorps xmm0, xmm0
mov dword [esi + 0x130], 0
mov eax, ecx
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
movlpd qword [ebp - 0x18], xmm0
mov dword [esi + 0x144], 0
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ecx], xmm0
xorps xmm0, xmm0
movq qword [ecx + 8], xmm0
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 8], xmm0
xorps xmm0, xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 0x10], xmm0
xorps xmm0, xmm0
movq qword [ecx + 0x18], xmm0
movlpd qword [ebp - 0x18], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 0x18], xmm0
xorps xmm0, xmm0
movq qword [ecx + 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 0x20], xmm0
cmp byte [0x991b00], 0
jne 0x598edc
push str.FFlag::areFlagsLoaded__
push str.RBX::Runtime___panic
call fcn.004f6030
add esp, 8
cmp byte [0x7f15e4], 0
je 0x598f04
call fcn.006ab9d2
mov ecx, 0x10
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [0xf0a688]
cmp eax, ecx
cmovl ecx, eax
mov dword [esi + 8], ecx
jmp 0x598f07
mov ecx, dword [esi + 8]
cmp ecx, 1
jge 0x598f13
mov dword [esi + 8], 0x10
mov dword [ebp - 0x14], 0
nop word [eax + eax]
push 8
call fcn.004e7f70
add esp, 4
test eax, eax
je 0x598f38
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], esi
jmp 0x598f3a
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push eax
push 0x597c90
push 0
push 0
call fcn.006d268b
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x598f93
cmp dword [edi + 4], 0
jne 0x598fa1
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ecx
inc eax
add edi, 8
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 8]
jl 0x598f20
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
mov dword [ebp - 0x1c], 0
call fcn.006ac189
call fcn.006d24f3
int3