Function at 0x542f00
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62a46e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x44], edi
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x5430cf
lea eax, [esp + 0x24]
lea edx, [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x1c]
lea edx, [esp + 0x34]
push eax
push edx
lea eax, [esp + 0x1c]
lea edx, [esp + 0x4c]
push eax
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x4c]
push eax
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00554b20
test eax, eax
je 0x5430cf
mov ecx, dword [edi + 0x88]
cmp ecx, ebx
jne 0x54302e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb0]
mov edx, dword [ecx + 0x30]
mov ecx, edi
push edx
push eax
call fcn.005426c0
mov eax, dword [edi + 0x88]
cmp eax, ebx
je 0x543012
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x38], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x3c], edx
mov eax, dword [edi + 0x88]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x40], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x44], edx
mov eax, dword [edi + 0x88]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x48], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x4c], edx
mov eax, dword [edi + 0x88]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x50], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x54], edx
mov eax, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x10], ecx
cmp eax, ebx
je 0x543056
mov edx, dword [esp + 0xc]
jmp 0x543043
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x60]
inc ecx
cmp edx, ecx
je 0x543056
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x58]
cmp eax, ebx
jne 0x54303f
push 0x70
call fcn.005fdccd
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov dword [esp + 0x1a8], ebx
je 0x54307a
mov ecx, eax
call fcn.0054a820
mov esi, eax
jmp 0x54307c
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x1a8], 0xffffffff
je 0x5430cf
mov edx, dword [edi + 0xd4]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0xdc]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0x88]
mov edx, dword [ecx + 0x10]
push edx
call fcn.005e519b
lea eax, [eax + eax + 0x14]
push eax
call fcn.005fdccd
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5430e8
mov ecx, esi
call fcn.0054a870
push esi
call fcn.005fdcf6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x94]
inc ecx
mov dword [edi + 0x94], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], ecx
mov eax, dword [edi + 0x88]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
push edx
push ecx
push str._s_d
push ebx
call fcn.005e60ec
add esp, 0x10
mov ecx, esi
push ebx
call fcn.0054a900
test eax, eax
jne 0x543157
mov edi, dword [ebp + 8]
push ebx
lea ecx, [edi + 0x10]
call fcn.00553a50
test eax, eax
je 0x543172
push eax
push ebx
lea edx, [esp + 0x54]
push str.Error_opening_file__ls__errcode___ld._n
push edx
call fcn.005e5bb8
mov ecx, dword [esp + 0x54]
add esp, 0x10
lea eax, [esp + 0x4c]
push eax
call fcn.005406a0
mov ecx, esi
call fcn.0054a870
push esi
call fcn.005fdcf6
push ebx
call fcn.005fdcf6
add esp, 8
jmp 0x5430cf
push ebx
mov dword [edi + 0x17c], 0x40
mov dword [edi + 0x180], 0
mov byte [edi + 0xc6], 0
mov byte [edi + 0xc7], 0
call fcn.005fdcf6
mov dword [esi], edi
mov ecx, dword [esp + 0x38]
fld qword [esp + 0x40]
fmul qword [0x63f0d8]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0xe0], ecx
add esp, 4
mov dword [edi + 0x54], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0xe4], edx
call fcn.005e5674
mov ebx, eax
mov dword [esi + 0x1c], ebx
fld qword [esp + 0x34]
fmul qword [0x63f0e8]
call fcn.005e5674
sub ebx, eax
mov dword [esi + 0x20], ebx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x48], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x4c], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 0x50], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x54], ecx
mov edx, dword [eax + 0x58]
mov dword [esi + 0x58], edx
mov dword [eax + 0x58], esi
mov eax, dword [edi + 0x50]
mov dword [edi + 0x90], esi
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x54]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0x54]
mov ecx, dword [esp + 0x1a0]
mov dword [edi + 0x58], edx
mov dword [edi + 0x5c], eax
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8