Function at 0x54b160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e32fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.0054a8e0
mov ebx, eax
mov ecx, ebp
push ebx
call fcn.0054af30
mov eax, 0x2710
mov dword [esp + 0x14], 0
test ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
je 0x54b3ed
push edi
push 0
mov ecx, ebx
call fcn.00547260
mov edi, eax
test edi, edi
je 0x54b323
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [edi]
call fcn.00549f80
cmp eax, 0xa
jne 0x54b2cd
mov ecx, dword [edi]
push 0
call fcn.00547260
mov esi, eax
test esi, esi
je 0x54b2b2
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [esi]
call fcn.00549f80
cmp eax, 7
je 0x54b2a2
fld qword [esp + 0x34]
fsub qword [esp + 0x18]
fcomp qword [0x5ea000]
fnstsw ax
test ah, 1
je 0x54b2a2
fld qword [esp + 0x3c]
fsub qword [esp + 0x20]
fcomp qword [0x5ea000]
fnstsw ax
test ah, 1
je 0x54b2a2
mov ecx, dword [edi]
push 1
push esi
call fcn.00547af0
jmp 0x54b2ac
mov ecx, dword [edi]
push 0
push esi
call fcn.00547400
mov esi, eax
test esi, esi
jne 0x54b254
mov ecx, dword [edi]
push 0
push 0
call fcn.00547d80
test eax, eax
jne 0x54b30f
push 1
push edi
mov ecx, ebx
call fcn.00547af0
jmp 0x54b319
mov ecx, dword [edi]
call fcn.00549f80
cmp eax, 7
je 0x54b30f
fld qword [esp + 0x34]
fsub qword [esp + 0x18]
fcomp qword [0x5ea000]
fnstsw ax
test ah, 1
je 0x54b30f
fld qword [esp + 0x3c]
fsub qword [esp + 0x20]
fcomp qword [0x5ea000]
fnstsw ax
test ah, 1
je 0x54b30f
push 1
push edi
mov ecx, ebx
call fcn.00547af0
jmp 0x54b319
push 0
push edi
mov ecx, ebx
call fcn.00547400
mov edi, eax
test edi, edi
jne 0x54b229
push 0
push 0
mov ecx, ebx
call fcn.00547d80
cmp eax, 1
pop edi
jne 0x54b338
mov dword [esp + 0x10], eax
push 0
push 0
mov ecx, ebx
call fcn.00547d80
test eax, eax
jne 0x54b35b
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
mov ecx, ebp
call fcn.0054a8e0
test eax, eax
jne 0x54b3a0
push 0x15a4
call fcn.005b449a
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x54], 0
je 0x54b38c
mov ecx, eax
call fcn.00544b10
jmp 0x54b38e
xor eax, eax
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 0xffffffff
call fcn.0054ae60
mov ecx, ebp
call fcn.0054a8e0
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54b3e0
push 0
mov ecx, ebx
call fcn.00547260
test eax, eax
je 0x54b3cd
mov eax, dword [eax]
mov ecx, ebp
push eax
push esi
call fcn.0054aec0
mov dword [esp + 0xc], eax
push 0
mov ecx, ebx
call fcn.00548150
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
jmp 0x54b3ed
push ebx
push esi
mov ecx, ebp
call fcn.0054aec0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x28]
mov ecx, ebp
push eax
call fcn.0055dd90
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4