Function at 0x551d3c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d5fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], eax
call fcn.0052b6ec
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx], 0xb041e0
add ecx, 0x3b0
call fcn.005122f8
mov dword [ebp - 4], 1
push fcn.005770ec
push fcn.0057713c
mov eax, dword [ebp - 0x30]
push 4
add eax, 0x3d4
push 0x1c
push eax
call fcn.00858736
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x9bd944]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ecx]
mov dword [ecx + 4], eax
push edx
call dword [ebx + 0x14c]
mov esi, dword [ebp - 0x30]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
mov dword [esi + 0x2a4], eax
mov dword [esi + 0x2a8], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x2ac], ebx
mov edi, dword [edx + 0x2a4]
mov ecx, dword [edx + 0x2a8]
mov eax, dword [edx + 0x2ac]
mov dword [edx + 0x298], edi
mov dword [edx + 0x29c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x2a0], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x298]
mov dword [edx + 0x44], eax
mov eax, dword [edx + 0x29c]
mov dword [edx + 0x48], eax
mov eax, dword [edx + 0x2a0]
mov dword [edx + 0x4c], eax
mov eax, dword [ecx + 0x370]
mov dword [ecx + 0x33c], eax
call fcn.005520f8
mov ecx, dword [ebp - 0x30]
mov eax, dword [0xa739e0]
mov edi, dword [ecx + 0x370]
mov edx, dword [eax + 0x42c]
add edi, edi
mov ebx, dword [edx + edi*8 + 8]
mov dword [ecx + 0x34], ebx
mov esi, dword [eax + 0x42c]
mov edx, dword [esi + edi*8 + 0xc]
mov dword [ecx + 0x24], edx
mov dword [ecx + 0xd8], 0x9bd840
mov eax, dword [eax + 0x430]
mov dword [ecx + 0xdc], eax
xor eax, eax
push eax
mov word [ecx + 0xb8], ax
call fcn.007aa4c8
mov ecx, dword [ebp - 0x30]
push 1
movzx eax, word [ecx + 0xb8]
mov edx, dword [ecx + 0x33c]
mov word [ecx + 0xb8], ax
lea ebx, [edx + edx]
add ebx, ebx
sub ebx, edx
add ebx, ebx
add ebx, ebx
sub ebx, edx
add ebx, ebx
lea esi, [ebx + ebx + 0x9bd7a0]
push esi
call fcn.007b9a88
mov ecx, dword [ebp - 0x30]
mov ebx, dword [0xa739c4]
mov edx, dword [0xa739c0]
mov eax, dword [0xa739bc]
mov esi, dword [ecx + 0x33c]
push dword [eax + esi*4]
push dword [edx + esi*4]
push dword [ebx + esi*4]
call fcn.007868f8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x33c]
movzx esi, word [ecx + 0x334]
add eax, eax
add eax, eax
lea edx, [eax + eax]
add edx, edx
add edx, edx
sub edx, eax
lea ebx, [edx + 0x9bd740]
mov dword [ecx + 0x358], ebx
mov word [ecx + 0x346], si
call fcn.0078730c
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x300]
mov edx, dword [esi + 0x304]
mov ebx, dword [esi + 0x308]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], ebx
call fcn.00786bbc
mov ecx, dword [ebp - 0x30]
call fcn.007751b0
mov esi, dword [ebp - 0x30]
fld dword [0x924814]
mov ecx, dword [esi + 0x2e8]
mov ebx, dword [esi + 0x30]
fmul st(1), st(0)
fxch st(1)
fmul dword [0x924810]
fdivrp st(1)
fnstcw word [ebp - 0x2c]
movzx eax, word [ebp - 0x2c]
or eax, 0xc00
mov dword [ebp - 0x24], eax
fldcw word [ebp - 0x24]
fistp dword [esi + 0x2b0]
fldcw word [ebp - 0x2c]
mov eax, 0xf
mov dword [esi + 0x390], 0xc0800000
or ebx, 0x40000
mov word [esi + 0x342], ax
mov word [esi + 0x344], ax
xor edx, edx
mov word [esi + 0x330], dx
mov word [esi + 0x37c], dx
mov word [esi + 0x37e], dx
mov dword [esi + 0x380], edx
mov dword [esi + 0x384], edx
or ecx, 8
mov dword [esi + 0x2e8], ecx
mov dword [esi + 0x30], ebx
call fcn.00520e6c
test eax, eax
je 0x552012
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x33c]
cmp eax, 1
jne 0x551fff
mov ebx, 0xffff0040
jmp 0x552038
cmp eax, 2
jne 0x55200b
mov ebx, 0xffffff00
jmp 0x552038
mov ebx, 0xff20ff20
jmp 0x552038
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x33c]
cmp eax, 1
jne 0x552027
mov ebx, 0xffff0000
jmp 0x552038
cmp eax, 2
jne 0x552033
mov ebx, 0xffffff00
jmp 0x552038
mov ebx, 0xff0000ff
push ebx
push 0xa0303030
call fcn.00578cc4
mov edx, dword [ebp - 0x30]
push ebx
push 0xa0303030
mov dword [edx + 0x3cc], eax
call fcn.00578cc4
add esp, 0x10
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x33c]
mov dword [ecx + 0x398], 1
mov dword [ecx + 0x3d0], eax
mov eax, dword [0xa739b8]
mov ebx, dword [eax + edx*4]
mov esi, dword [ebx]
mov dword [ecx + 0x3a0], esi
mov edi, dword [eax + edx*4]
mov ebx, dword [edi + 4]
mov dword [ecx + 0x3a8], ebx
mov ebx, dword [eax + edx*4]
mov ebx, dword [ebx + 8]
mov dword [ecx + 0x3a4], ebx
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x3ac], eax
xor ebx, ebx
lea eax, [ebx + ebx]
add eax, eax
lea edx, [eax + eax]
add edx, edx
add edx, edx
sub edx, eax
lea ecx, [ecx + edx + 0x3d4]
call fcn.0057739c
add ebx, 1
cmp ebx, 4
jge 0x5520d0
mov ecx, dword [ebp - 0x30]
jmp 0x5520a9
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 0x150]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8