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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677c50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x719254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 8], vtable.ZScript::CompileErrorHandler.0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov word [ebx + 0x1c], 0
mov byte [ebx + 0x1e], 0
mov edi, dword [ebp + 8]
mov dword [ebx], vtable.ZScript::SemanticAnalyzer.0
mov dword [ebx + 8], vtable.ZScript::SemanticAnalyzer.1.0
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov byte [ebx + 0x34], 0
mov eax, dword [edi + 0x48]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 0x4c]
push 0
push ecx
mov byte [ebp - 4], 1
mov eax, dword [ecx + 0xcc]
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.004c7210
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebx + 4], eax
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
call fcn.00601bb0
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp esi, dword [ebp - 0x18]
je 0x5f322a
push dword [esi]
mov ecx, ebx
call fcn.005f3960
add esi, 4
cmp esi, dword [ebp - 0x18]
jne 0x5f3216
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edi, dword [edi]
cmp edi, dword [eax + 4]
je 0x5f334e
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
mov esi, eax
lea eax, [ebp - 0x1c]
cmp eax, esi
je 0x5f32c7
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5f32a2
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x5f3283
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f34b4
push ecx
push edx
call fcn.0061db3a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x5f3313
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x5f32f4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f34b4
push ecx
push edx
call fcn.0061db3a
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
je 0x5f3331
nop dword [eax + eax]
push dword [esi]
mov ecx, ebx
call fcn.005f3960
add esi, 4
cmp esi, dword [ebp - 0x18]
jne 0x5f3320
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebx + 4], eax
add edi, 4
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 4]
jne 0x5f3238
mov esi, dword [ebp - 0x1c]
mov edi, dword [eax + 0xc]
cmp edi, dword [eax + 0x10]
je 0x5f346e
nop word [eax + eax]
mov eax, dword [edi]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov esi, eax
lea eax, [ebp - 0x1c]
cmp eax, esi
je 0x5f33ea
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5f33c5
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x5f33a6
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f34b4
push ecx
push edx
call fcn.0061db3a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x5f3436
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x5f3417
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f34b4
push ecx
push edx
call fcn.0061db3a
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
je 0x5f3451
nop
push dword [esi]
mov ecx, ebx
call fcn.005f3960
add esi, 4
cmp esi, dword [ebp - 0x18]
jne 0x5f3440
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebx + 4], eax
add edi, 4
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 0x10]
jne 0x5f3360
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x5f349e
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x5f3494
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f34b4
push ecx
push esi
call fcn.0061db3a
add esp, 8
mov eax, ebx
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
call fcn.00622e92
int3