Function at 0x55d0e0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b2e09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x2c]
push edi
push eax
call fcn.00561f90
mov edi, eax
mov ax, word [edi + 0x1c]
cmp ax, 0xffff
je 0x55d12f
movsx ecx, ax
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.00561f90
mov edi, eax
push fcn.005721e0
push fcn.005721b0
push 4
push 8
lea edx, [esp + 0x28]
push edx
call fcn.005904c4
mov ecx, dword [esi + 0x60]
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x64]
push eax
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00561fe0
mov edx, dword [esi + 0xa4]
mov ecx, dword [esi + 0x2c]
push edx
mov ebx, eax
call fcn.00562040
mov ecx, dword [esi + 0x60]
add ebx, eax
mov eax, dword [esi + 0x64]
neg ebx
mov dword [esp + 0xc], ebx
fild dword [esp + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x30]
fstp dword [esp + 0x28]
call fcn.00562010
mov edx, dword [esi + 0xa4]
mov ecx, dword [esi + 0x2c]
push edx
mov ebx, eax
call fcn.00562060
add ebx, eax
mov eax, dword [esp + 0x20]
neg ebx
mov dword [esp + 0xc], ebx
fild dword [esp + 0xc]
mov dword [esp + 0x18], eax
lea ebx, [esi + 4]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fild dword [edi + 0x14]
lea edx, [esp + 0xc]
push edx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [esp + 0x28]
fstp dword [esp + 0x20]
fild dword [edi + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, ebx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [esp + 0x24]
fstp dword [esp + 0x34]
fild dword [edi + 0x18]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [esp + 0x24]
fstp dword [esp + 0x2c]
fild dword [edi + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [esp + 0x28]
fstp dword [esp + 0x30]
fld dword [esi + 0x90]
fadd dword [esi + 0x8c]
fstp dword [esp + 0x10]
call fcn.00572680
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
add eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
add edx, dword [esi + 0x6c]
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
call fcn.005721c0
push eax
mov ecx, ebx
mov byte [esp + 0xb8], 1
call fcn.00572340
lea ecx, [esp + 0xc]
mov byte [esp + 0xb4], 0
call fcn.005721e0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x55d2e7
push ebx
add eax, 4
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.005727e0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0xb8], 2
call fcn.00572360
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 0
call fcn.005722d0
lea ecx, [esp + 0x60]
call fcn.00572700
mov ecx, dword [0xafb31c]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
push edi
add ecx, 0x130
mov byte [esp + 0xc0], 3
call fcn.00564e50
mov eax, dword [esi + 0x68]
test eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
push ebx
jne 0x55d337
lea ecx, [esp + 0x64]
call fcn.00572360
jmp 0x55d38c
mov eax, dword [ebp + 8]
lea ecx, [eax + eax]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x8c]
fstp dword [esp + 0x70]
push eax
mov dword [esp + 0x6c], 0xbf800000
call fcn.005727e0
add esp, 0xc
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xb8], 4
call fcn.00572360
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 3
call fcn.005722d0
lea edi, [esp + 0x18]
mov ebx, 4
push edi
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.00572260
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
add esp, 0xc
lea ecx, [esp + 0x58]
mov dword [edi + 4], edx
call fcn.005721e0
add edi, 8
dec ebx
jne 0x55d395
lea eax, [esi + 0xac]
push eax
lea ecx, [esp + 0x64]
call fcn.00572300
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x18]
push edx
push 0x70
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x14]
fild dword [eax]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0x18]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [ecx]
mov ecx, dword [ebp + 0x18]
fild dword [ecx]
mov edx, dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [edx + 4]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov dword [edi + 0x14], edx
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov dword [edi + 0x18], edx
fild dword [eax]
mov edx, dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0x20]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [edx + 0x1c]
mov edx, dword [esp + 0x14]
fild dword [ecx]
fstp dword [esp + 0xc]
fld dword [esp + 0x24]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [edx + 0x20]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [edi + 0x30], edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov dword [edi + 0x34], edx
fild dword [eax]
mov edx, dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0x28]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [edx + 0x38]
mov edx, dword [esp + 0x14]
fild dword [ecx]
fstp dword [esp + 0xc]
fld dword [esp + 0x2c]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [edx + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov dword [edi + 0x4c], edx
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
mov dword [edi + 0x50], edx
fild dword [eax]
mov eax, dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0x30]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [eax + 0x54]
fild dword [ecx]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0xc]
fld dword [esp + 0x34]
fsub dword [esp + 0xc]
fsub dword [0x5b7bac]
fstp dword [ecx + 0x58]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x68], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x6c], ecx
mov esi, dword [esi + 0x5c]
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 0
call fcn.005722d0
push fcn.005721e0
push 4
push 8
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0xc4], 0xffffffff
call fcn.00590464
mov ecx, dword [esp + 0xac]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14