Function at 0xb24114
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6a1c
mov eax, dword fs:[0]
push eax
sub esp, 0x9ec
push ebx
push ebp
push esi
push edi
mov eax, dword [0x669f00]
xor eax, esp
push eax
lea eax, [esp + 0xa00]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x2c]
call 0xbdc1e4
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xa08], edi
call 0xbdc1e4
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa08], 1
call 0xbfe6c4
call 0xbddf04
mov ecx, eax
call 0xbde004
push eax
lea ecx, [esp + 0x40]
call 0xbfe4a4
call fcn.00b166d4
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
add eax, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0c], 2
call 0xbdc754
lea ecx, [esp + 0x2c]
call 0xbdc2b4
push 0x5ee118
push eax
call 0xc78858
add esp, 8
push eax
lea ecx, [esp + 0x18]
call 0xbdd384
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00aed724
push 0x5ee118
push edi
call 0xc78858
add esp, 8
push eax
lea ecx, [esp + 0x18]
call 0xbdd384
lea ecx, [esp + 0x14]
call 0xbdc294
test eax, eax
je 0xb24238
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00aed724
push 0x5ee118
push edi
call 0xc78858
add esp, 8
push eax
lea ecx, [esp + 0x18]
call 0xbdd384
lea ecx, [esp + 0x14]
call 0xbdc294
test eax, eax
jne 0xb24205
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea ebx, [esi + 0xd0]
jmp 0xb2424a
xor edi, edi
cmp ecx, edi
jne 0xb24252
xor eax, eax
jmp 0xb24257
sub eax, ecx
sar eax, 2
add eax, 0xffffffff
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
lea ecx, [esp + 0x3c]
fsub qword [0x5ed620]
fadd qword [0x5ef108]
fstp qword [esp + 0x34]
call 0xbfe5c4
mov esi, eax
lea ecx, [esp + 0x3c]
shr esi, 5
call 0xbfe5c4
shr eax, 6
test esi, esi
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
jge 0xb2429e
fadd qword [0x5efc38]
test eax, eax
fmul qword [0x5efc30]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
jge 0xb242b6
fadd qword [0x5efc38]
faddp st(1)
fmul qword [0x5efc28]
fmul qword [esp + 0x34]
call 0xc76174
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
mov esi, eax
je 0xb242de
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0xb242e7
call 0xc760de
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + esi*4]
push edx
mov ecx, ebx
call 0xbdd6b4
mov ecx, ebx
call 0xbdc294
cmp eax, dword [esp + 0xa10]
jg 0xb243c6
push 0x5ee118
lea ecx, [esp + 0x34]
call 0xbdc1f4
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
mov byte [esp + 0xa0c], 3
call 0xbdd6b4
lea ecx, [esp + 0x30]
mov byte [esp + 0xa08], 2
call 0xbdc714
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp ecx, eax
mov edi, ecx
jbe 0xb24354
call 0xc760de
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea edi, [edi + esi*4]
cmp edi, eax
ja 0xb2435f
cmp edi, ecx
jae 0xb2436c
call 0xc760de
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea esi, [edi + 4]
cmp esi, eax
mov ebp, eax
je 0xb2438f
sub edi, esi
push esi
lea ecx, [edi + esi]
call 0xbdc754
add esi, 4
cmp esi, ebp
jne 0xb24377
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea esi, [eax - 4]
cmp esi, eax
mov edi, eax
je 0xb243ae
mov ecx, esi
call 0xbdc714
add esi, 4
cmp esi, edi
jne 0xb24398
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, 4
test ecx, ecx
mov dword [esp + 0x20], eax
je 0xb243c6
mov edx, eax
sub edx, ecx
sar edx, 2
jne 0xb24248
lea ecx, [esp + 0x18]
mov byte [esp + 0xa08], 1
call fcn.00aece34
lea ecx, [esp + 0x14]
mov byte [esp + 0xa08], 0
call 0xbdc714
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa08], 0xffffffff
call 0xbdc714
mov ecx, dword [esp + 0xa00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9f8
ret 4