Function at 0x4230d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x544118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0053fedc
mov edi, dword [esp + 0x58]
mov ecx, esi
mov dword [esp + 0x50], 0
mov eax, dword [esi + edi*4 + 0x1d8]
push eax
call fcn.0053ff18
mov edi, dword [esi + edi*4 + 0x1a8]
lea ecx, [esp + 0x18]
push ecx
mov ebx, eax
mov edx, dword [edi + 0x20]
push edx
call dword [0x553db8]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0054020c
mov ecx, dword [esp + 0x18]
lea ebp, [edi + 0x70]
mov dword [edi + 0x68], ecx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x6c], edx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [esi + 0x170]
fadd qword [0x554618]
call fcn.00540a50
mov dword [ebp], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add edi, 0x74
sub ecx, edx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul qword [esi + 0x170]
fadd qword [0x554618]
call fcn.00540a50
push edi
push ebp
mov ecx, esi
mov dword [edi], eax
call fcn.00422e10
mov edx, dword [edi]
mov eax, dword [ebp]
push edx
push eax
lea ecx, [esp + 0x18]
push str._d_x__d
push ecx
call fcn.00540122
mov eax, dword [ebx + 0x20]
mov edi, dword [0x553db8]
add esp, 0x10
lea edx, [esp + 0x28]
push edx
push eax
call edi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [esp + 0x24]
sub ecx, ebp
push 1
push ecx
mov ecx, dword [esp + 0x20]
add eax, 4
push edx
push eax
add ecx, 0xa
push ecx
mov ecx, ebx
call fcn.00540056
push 5
mov ecx, ebx
call fcn.00540020
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x16c]
cmp ecx, eax
je 0x423222
mov edx, dword [esp + 0x10]
mov eax, dword [esi + eax*4 + 0x1d8]
push edx
push eax
mov ecx, esi
call fcn.005402cc
jmp 0x423288
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0054020c
mov eax, dword [esi + 0xb4]
lea edx, [esp + 0x38]
push edx
push eax
call edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
sub ecx, edx
mov edx, dword [esp + 0x40]
push 1
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ebp
push edx
add ecx, 0xa
lea edi, [esi + 0x94]
push eax
push ecx
mov ecx, edi
call fcn.00540056
push 5
mov ecx, edi
call fcn.00540020
mov edx, dword [esi + 0xb4]
push 1
push 0
push edx
call dword [0x553da0]
mov ecx, dword [esi + 0x164]
xor edi, edi
cmp ecx, edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
jle 0x4232da
lea eax, [esi + 0x1a8]
mov edx, ecx
mov ecx, dword [eax]
cmp ecx, edi
je 0x4232d4
mov ecx, dword [ecx + 0x70]
mov ebp, dword [esi + 0x154]
mov ebx, dword [esi + 0x158]
add ebp, ecx
mov dword [esi + 0x154], ebp
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x74]
cmp ecx, ebx
jbe 0x4232d4
mov dword [esi + 0x158], ecx
add eax, 4
dec edx
jne 0x4232a8
push edi
mov ecx, esi
call fcn.0053ff30
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.0053feb8
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8