Function at 0x489390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7421
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64a000]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], 1
push eax
lea ecx, [esp + 0x30]
call fcn.0042b1c0
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x48]
push str.func:
mov byte [esp + 0x40], 2
mov eax, dword [edi]
push dword [eax]
push str.type:
call fcn.004037f0
push ecx
mov ecx, esp
mov eax, dword [eax]
mov dword [ecx], eax
inc dword [eax + 0xc]
lea eax, [esp + 0x58]
push eax
call fcn.00488c20
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x40], 3
call fcn.004037f0
mov ecx, dword [edi]
mov esi, eax
push dword [ecx + 8]
mov ecx, dword [esi]
call fcn.00426ce0
mov ecx, dword [esi]
cmp byte [ecx + 0x14], 0
je 0x489435
push 0x20
call fcn.00426720
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3c], 2
call fcn.0042b250
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x4896b2
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push str.overshoot:_1
push eax
call fcn.004102e0
mov edx, eax
add esp, 8
mov byte [esp + 0x40], 4
mov ecx, esp
mov ebp, 0x20
push 0x14
mov word [ecx], bp
mov ecx, edx
mov eax, dword [edi]
push 0x66
push 0
sub esp, 8
mov eax, dword [eax + 4]
movsd xmm0, qword [eax + 0x20]
lea eax, [esp + 0x38]
movsd qword [esp], xmm0
push eax
call fcn.00418260
mov ebx, eax
push 0xffffffffffffffff
lea eax, [esp + 0x20]
mov byte [esp + 0x40], 5
push str.amp:_1
push eax
call fcn.004102e0
mov edx, eax
add esp, 8
mov byte [esp + 0x40], 6
mov ecx, esp
push 0x14
mov word [ecx], bp
mov ecx, edx
mov eax, dword [edi]
push 0x66
push 0
sub esp, 8
mov eax, dword [eax + 4]
movsd xmm0, qword [eax + 0x18]
lea eax, [esp + 0x30]
movsd qword [esp], xmm0
push eax
call fcn.00418260
mov esi, eax
push 0xffffffffffffffff
lea eax, [esp + 0x18]
mov byte [esp + 0x40], 7
push str.period:_1
push eax
call fcn.004102e0
mov edx, eax
add esp, 8
mov byte [esp + 0x40], 8
mov ecx, esp
push 0x14
mov word [ecx], bp
mov ecx, edx
mov eax, dword [edi]
push 0x66
push 0
sub esp, 8
mov eax, dword [eax + 4]
movsd xmm0, qword [eax + 0x10]
lea eax, [esp + 0x64]
movsd qword [esp], xmm0
push eax
call fcn.00418260
mov ecx, dword [eax]
mov byte [esp + 0x3c], 9
push dword [ecx + 4]
mov eax, dword [ecx + 0xc]
add eax, ecx
lea ecx, [esp + 0x4c]
push eax
call fcn.0042b500
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 0x14], 0
je 0x489557
push ebp
call fcn.00426720
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
push dword [ecx + 4]
add eax, ecx
lea ecx, [esp + 0x4c]
push eax
call fcn.0042b500
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 0x14], 0
je 0x48957c
push 0x20
call fcn.00426720
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
push dword [ecx + 4]
add eax, ecx
lea ecx, [esp + 0x4c]
push eax
call fcn.0042b500
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x14], 0
je 0x4895a3
push 0x20
mov ecx, eax
call fcn.00426720
mov eax, dword [esp + 0x4c]
or esi, 0xffffffff
mov ecx, dword [eax]
test ecx, ecx
je 0x4895c5
cmp ecx, esi
je 0x4895d2
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4895d2
mov eax, dword [esp + 0x4c]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x4895f2
cmp ecx, 0xffffffff
je 0x4895ff
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4895ff
mov eax, dword [esp + 0x14]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
je 0x48961f
cmp ecx, 0xffffffff
je 0x48962c
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x48962c
mov eax, dword [esp + 0x18]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x48964c
cmp ecx, 0xffffffff
je 0x489659
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x489659
mov eax, dword [esp + 0x1c]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x489679
cmp ecx, 0xffffffff
je 0x489686
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x489686
mov eax, dword [esp + 0x20]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x4896a5
cmp ecx, 0xffffffff
je 0x4896b2
lock xadd dword [eax], esi
dec esi
setne al
test al, al
jne 0x4896b2
mov eax, dword [esp + 0x24]
push 4
push 2
push eax
call fcn.00413640
add esp, 0xc
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esi], eax
inc dword [eax + 0xc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], 1
mov byte [esp + 0x3c], 1
call fcn.0042b2f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 0
call fcn.0042b250
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret