Function at 0x5a0020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707c65
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00597280
mov edi, eax
mov dword [edi], 0x630a00
mov dword [edi + 4], 0x628ea0
mov dword [edi + 8], fcn.00628fd0
mov dword [edi + 0xc], fcn.00633650
mov dword [edi + 0x10], fcn.0062b9d0
mov dword [edi + 0x14], 0x62bb10
mov dword [edi + 0x18], fcn.0062ef20
mov dword [edi + 0x1c], 0x62f160
mov dword [edi + 0x20], fcn.00634250
mov dword [edi + 0x24], fcn.0062ea30
mov dword [edi + 0x28], fcn.00632c50
mov dword [edi + 0x2c], 0x62b760
mov dword [edi + 0x30], 0x633ff0
mov dword [edi + 0x34], 0x62a720
mov dword [edi + 0x38], 0x629fc0
mov dword [edi + 0x3c], 0x634fa0
mov dword [edi + 0x40], 0x630530
mov dword [edi + 0x44], 0x62c8c0
mov dword [edi + 0x48], 0x62f620
mov dword [edi + 0x4c], 0x629850
mov dword [edi + 0x50], 0x62ab00
mov byte [edi + 0x58], 1
call fcn.00628e80
mov ecx, dword [ebx + 0xe0]
mov eax, ecx
shr eax, 1
mov byte [ebx + 0xc9], 1
test al, 1
je 0x5a0106
test cl, 1
je 0x5a0111
mov ecx, edi
call fcn.006b2e10
test al, al
je 0x5a0125
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x18]
mov ecx, esi
call dword [0x76649c]
call esi
cmp eax, 0x12e
je 0x5a015b
cmp eax, 0x135
je 0x5a015b
mov byte [edi + 0x58], 0
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [0x77f6f1]
mov ecx, dword [ebx + 0x110]
push eax
call fcn.005f0d90
mov esi, 0x560b20
mov dword [ebp - 0x30], 0
test eax, eax
mov dword [ebp - 0x2c], 0xf
mov edx, esi
mov byte [ebp - 0x40], 0
cmovne edx, eax
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5a0191
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0059a870
mov dword [ebp - 0x44], 0x560c38
movzx eax, word [0x77f6d7]
mov ecx, dword [ebx + 0x110]
push eax
mov dword [ebp - 4], 0
call fcn.005f0d90
test eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
cmovne esi, eax
mov byte [ebp - 0x24], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5a01e1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.0059a870
mov dword [ebp - 0x28], 0x560c38
push 0
push 1
push 0
push 0xffffffffffffffed
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
push 4
push 0
push dword [ebx + 0xbc]
lea eax, [ebp - 0x48]
push eax
call fcn.005a3d30
mov edx, dword [ebp - 0x10]
add esp, 0x28
mov dword [ebp - 0x28], 0x560c38
cmp edx, 0x10
jb 0x5a0260
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x5a0256
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a02ce
push edx
push ecx
call fcn.006dd246
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x560c38
cmp edx, 0x10
jb 0x5a02b7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x5a02ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a02ce
push edx
push ecx
call fcn.006dd246
add esp, 8
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0060e3b4
int3