Function at 0x4acff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52d18b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov dword [edi], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 8], ecx
lea ecx, [edi + 0x14]
mov dword [edi + 4], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
call fcn.00433b20
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x38], esi
mov eax, dword [esi + 0x1ec]
cmp eax, 0xfde9
jne 0x4ad06b
lea eax, [ebx + 1]
jmp 0x4ad072
neg eax
sbb eax, eax
and eax, 2
fild dword [esp + 0x54]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x40], eax
fstp dword [esp + 0x50]
fldz
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4ad0ab
mov edx, dword [edi + 4]
mov eax, dword [edi]
push ecx
mov ecx, dword [edi + 8]
fstp dword [esp]
call fcn.004ac620
mov dword [edi + 0x10], eax
jmp 0x4ad0ad
fstp st(0)
mov ecx, dword [edi + 0x10]
cmp ecx, dword [edi + 4]
jle 0x4ad0d2
mov esi, dword [edi]
mov edx, dword [esi + 0x34]
mov ecx, dword [edi + 0x10]
lea eax, [edx + ecx]
mov dl, byte [eax]
cmp dl, byte [eax - 1]
jne 0x4ad0d2
dec ecx
mov eax, ecx
mov dword [edi + 0x10], ecx
cmp eax, dword [edi + 4]
jg 0x4ad0b7
cmp byte [esp + 0x58], bl
je 0x4ad194
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add eax, ecx
xor esi, esi
push esi
push eax
xor edx, edx
push edx
push ecx
lea eax, [esp + 0x28]
call fcn.00483fe0
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x58], ebx
sar eax, 4
cmp eax, ebx
jbe 0x4ad194
cmp dword [esp + 0x58], eax
jb 0x4ad115
call fcn.00501daa
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0xc]
add eax, ebx
lea esi, [esp + 0x38]
call fcn.004a35d0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
cmp eax, esi
jne 0x4ad159
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
je 0x4ad177
test eax, eax
jl 0x4ad168
sub eax, dword [edi + 0xc]
push eax
mov eax, edi
call fcn.004acf30
test esi, esi
jl 0x4ad177
sub esi, dword [edi + 0xc]
mov eax, edi
push esi
call fcn.004acf30
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x58]
inc ecx
sar eax, 4
add ebx, 0x10
mov dword [esp + 0x58], ecx
cmp ecx, eax
jb 0x4ad10a
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
push eax
mov eax, edi
call fcn.004acf30
mov ecx, dword [edi + 8]
push ecx
mov eax, edi
call fcn.004acf30
mov edx, dword [edi + 0x24]
sub edx, dword [edi + 0x20]
test edx, 0xfffffffc
je 0x4ad1d3
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x20]
sar eax, 2
test eax, eax
ja 0x4ad1cc
call fcn.00501daa
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
jmp 0x4ad1d6
or eax, 0xffffffff
mov dword [edi + 0x30], eax
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x20